初次提交

This commit is contained in:
2026-07-20 10:56:52 +08:00
commit 7bcc0026e0
462 changed files with 50191 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
## 游戏设计器插件入口(EditorPlugin
## 在编辑器底部面板添加「🎮 游戏设计器」,整合 法术/敌人/波次/Core/平衡 编辑器。
@tool
extends EditorPlugin
var _panel: Control = null
func _enter_tree() -> void:
_panel = preload("res://addons/game_designer/designer_panel.gd").new()
_panel.name = "🎮 游戏设计器"
add_control_to_bottom_panel(_panel, "🎮 游戏设计器")
func _exit_tree() -> void:
if _panel:
remove_control_from_bottom_panel(_panel)
_panel.free()
_panel = null