mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-06-06 19:57:12 +08:00
feat(UI): 添加编译提示面板并更新启动流程
在启动单机游戏时显示编译提示面板 扩展FullscreenPanelBase增加afterOpen和beforeClose钩子 添加CompilingTip面板相关资源和脚本
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
@tool
|
||||
extends FullscreenPanelBase
|
||||
|
||||
func afterOpen(_args: Array = []):
|
||||
UIState.closeCurrentPanel()
|
||||
@@ -0,0 +1 @@
|
||||
uid://dubab2jnii6et
|
||||
@@ -65,7 +65,7 @@ func startSingleplayerGame():
|
||||
MultiplayerState.playerName = playerNameInput.text
|
||||
EntityBase.generatePlayer(playerNameInput.text)
|
||||
WorldManager.rootNode.spawnWave(Vector2.ZERO)
|
||||
UIState.closeCurrentPanel()
|
||||
UIState.setPanel("CompilingTip")
|
||||
|
||||
func _ready():
|
||||
historyStack = Composables.useHistoryStack(playerNameInput)
|
||||
|
||||
Reference in New Issue
Block a user