feat: integrate composable Godot runtime and EventBus debugger
This commit is contained in:
55 files changed
+1481
-114
No files matched your search
@@ -0,0 +1,18 @@
|
||||
@tool
|
||||
extends EditorPlugin
|
||||
|
||||
const DEBUGGER_PLUGIN_SCRIPT := preload("res://addons/shrink_event_bus/editor/event_bus_debugger_plugin.gd")
|
||||
|
||||
var _debugger_plugin: EditorDebuggerPlugin
|
||||
|
||||
|
||||
func _enter_tree() -> void:
|
||||
_debugger_plugin = DEBUGGER_PLUGIN_SCRIPT.new()
|
||||
add_debugger_plugin(_debugger_plugin)
|
||||
|
||||
|
||||
func _exit_tree() -> void:
|
||||
if _debugger_plugin != null:
|
||||
_debugger_plugin.dispose_panels()
|
||||
remove_debugger_plugin(_debugger_plugin)
|
||||
_debugger_plugin = null
|
||||
Reference in new issue
Block a user