mirror of
https://github.com/Relintai/material-maker.git
synced 2024-12-23 21:16:54 +01:00
14 lines
296 B
GDScript
14 lines
296 B
GDScript
tool
|
|
extends EditorPlugin
|
|
|
|
var importer = null
|
|
|
|
func _enter_tree() -> void:
|
|
importer = preload("res://addons/material_maker/import_plugin/ptex_import.gd").new(self)
|
|
add_import_plugin(importer)
|
|
|
|
func _exit_tree() -> void:
|
|
if importer != null:
|
|
remove_import_plugin(importer)
|
|
importer = null
|