Files
George Marques 0bf5a9935d Add a custom import plugin demo
This is a direct port from the Godot 2.1 version of the demo.
2018-01-14 18:29:49 -02:00

14 lines
231 B
GDScript

tool
extends EditorPlugin
var import_plugin
func _enter_tree():
import_plugin = preload("import_plugin.gd").new()
add_import_plugin(import_plugin)
func _exit_tree():
remove_import_plugin(import_plugin)
import_plugin = null