feat: integrate composable Godot runtime and EventBus debugger

This commit is contained in:
cneicy committed 2026-11-06 19:18:54 +08:00
1 parent 0d9e04c09d
commit 51f8a1d044
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