15 lines
287 B
GDScript3
15 lines
287 B
GDScript3
|
tool
|
||
|
extends EditorPlugin
|
||
|
|
||
|
var import_plugin = null
|
||
|
|
||
|
func get_name():
|
||
|
return "CastleDB Importer"
|
||
|
|
||
|
func _enter_tree():
|
||
|
import_plugin = preload("castledb_importer.gd").new()
|
||
|
add_import_plugin(import_plugin)
|
||
|
|
||
|
func _exit_tree():
|
||
|
remove_import_plugin(import_plugin)
|
||
|
import_plugin = null
|