You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
353 B
19 lines
353 B
@tool
|
|
extends EditorPlugin
|
|
|
|
var plugin: LanguagetToolPlugin
|
|
|
|
func _enter_tree() -> void:
|
|
plugin = LanguagetToolPlugin.new()
|
|
add_child(plugin)
|
|
|
|
EditorInterface.get_inspector().edited_object_changed.connect(_inspector_edited_object_changed)
|
|
|
|
func _inspector_edited_object_changed():
|
|
plugin.check_new_inspector();
|
|
|
|
|
|
|
|
func _exit_tree() -> void:
|
|
pass
|