plugin.gd 224 B

1234567891011121314
  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