created fog of war
This commit is contained in:
13
addons/godot_debug_environments/plugin.gd
Normal file
13
addons/godot_debug_environments/plugin.gd
Normal file
@@ -0,0 +1,13 @@
|
||||
@tool
|
||||
extends EditorPlugin
|
||||
|
||||
var plugin
|
||||
|
||||
func _enter_tree():
|
||||
plugin = preload("res://addons/godot_debug_environments/debug_environment_editor_inspector.gd").new()
|
||||
add_autoload_singleton("DebugEnvironmentWatcher", "res://addons/godot_debug_environments/debug_environment_watcher.gd")
|
||||
add_inspector_plugin(plugin)
|
||||
|
||||
func _exit_tree():
|
||||
remove_autoload_singleton("DebugEnvironmentWatcher")
|
||||
remove_inspector_plugin(plugin)
|
||||
Reference in New Issue
Block a user