17 lines
394 B
GDScript
17 lines
394 B
GDScript
@tool
|
|
extends EditorPlugin
|
|
|
|
|
|
const GlobalSoundSelectorPlugin = preload("global_sound_selector_plugin.gd")
|
|
|
|
|
|
var global_sound_selector_plugin: EditorInspectorPlugin
|
|
|
|
|
|
func _enter_tree() -> void:
|
|
global_sound_selector_plugin = GlobalSoundSelectorPlugin.new()
|
|
add_inspector_plugin(global_sound_selector_plugin)
|
|
|
|
|
|
func _exit_tree() -> void:
|
|
remove_inspector_plugin(global_sound_selector_plugin)
|