1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-06-07 20:27:13 +08:00

feat(UI): 添加初始增益选择面板功能

实现初始增益选择面板的创建和显示逻辑,包括:
- 新增SelectInitialFeed面板场景和脚本
- 修改CompilingTip面板结束后跳转到选择面板
- 在ComponentManager中添加面板管理功能
- 优化UIState的面板加载和切换逻辑
This commit is contained in:
2026-01-30 11:44:42 +08:00
parent 2db1f7ac26
commit 0e4d6e6fe3
8 changed files with 56 additions and 42 deletions
+7
View File
@@ -23,6 +23,11 @@ func _ready():
items = $%items
fields = $%fields
fieldsAnimator = $%fieldsAnimator
await get_tree().process_frame
for panel in ComponentManager.panels:
panel = ComponentManager.getPanel(panel).instantiate() as FullscreenPanelBase
panel.hide()
panels.add_child(panel)
setPanel("Starter")
func _process(_delta):
bossbar.visible = !!bossbar.entity
@@ -72,6 +77,8 @@ static func setPanel(targetName: String = "", args: Array = []):
panel.showPanel(args)
else:
panel.hidePanel()
if !currentPanel:
print("没有叫%s的面板" % targetName)
static func closeCurrentPanel():
setPanel()
static func showTip(text: String, messageType: TipBox.MessageType = TipBox.MessageType.INFO):