init
This commit is contained in:
commit
18efc36800
161 changed files with 5008 additions and 0 deletions
14
addons/sound_manager/plugin.gd
Normal file
14
addons/sound_manager/plugin.gd
Normal file
|
@ -0,0 +1,14 @@
|
|||
@tool
|
||||
extends EditorPlugin
|
||||
|
||||
|
||||
func _enter_tree():
|
||||
add_autoload_singleton("SoundManager", get_plugin_path() + "/sound_manager.gd")
|
||||
|
||||
|
||||
func _exit_tree():
|
||||
remove_autoload_singleton("SoundManager")
|
||||
|
||||
|
||||
func get_plugin_path() -> String:
|
||||
return get_script().resource_path.get_base_dir()
|
Loading…
Add table
Add a link
Reference in a new issue