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

refactor(Starter): 重命名按钮变量并调整多人游戏逻辑

将单机游戏开始按钮变量名从startBtn改为startSingleplayerBtn以提高可读性
调整多人游戏按钮禁用逻辑,仅服务器可点击开始按钮
默认隐藏玩家列表,仅在连接成功后显示
This commit is contained in:
2025-11-11 22:16:40 +08:00
parent 0bf2a76718
commit ebe1c4d8b3
2 changed files with 5 additions and 4 deletions
@@ -80,7 +80,7 @@ expand_to_text_length = true
virtual_keyboard_type = 7
select_all_on_focus = true
[node name="startBtn" type="Button" parent="content/wrapper/starter/singleplayer/start" index="1"]
[node name="startSingleplayerBtn" type="Button" parent="content/wrapper/starter/singleplayer/start" index="1"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 4
@@ -214,6 +214,7 @@ select_all_on_focus = true
[node name="players" type="VBoxContainer" parent="content/wrapper/starter/multiplayer/configs" index="1"]
unique_name_in_owner = true
visible = false
layout_mode = 2
[node name="title" type="Label" parent="content/wrapper/starter/multiplayer/configs/players" index="0"]