plugin.gd 225 B

12345678910111213
  1. @tool
  2. extends EditorPlugin
  3. var import_plugin
  4. func _enter_tree():
  5. import_plugin = preload("import.gd").new()
  6. add_import_plugin(import_plugin)
  7. func _exit_tree():
  8. remove_import_plugin(import_plugin)
  9. import_plugin = null