mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-27 22:41:56 +08:00
30527a18a8
- 新增GameControl节点用于统一处理游戏重启和退出 - 添加GameBusManager管理游戏重启时的资源清理 - 修改Pause和GameOver面板使用新的GameControl - 为EffectController和ItemDropped添加分组管理 - 统一使用WorldManager管理游戏时间
20 lines
619 B
Plaintext
20 lines
619 B
Plaintext
[gd_scene format=3 uid="uid://braggv3vafd83"]
|
|
|
|
[ext_resource type="Script" uid="uid://b63fkg0waovo" path="res://scripts/Statemachine/GameControl.gd" id="1_t5a04"]
|
|
|
|
[node name="GameControl" type="HBoxContainer" unique_id=1187018703]
|
|
size_flags_horizontal = 4
|
|
script = ExtResource("1_t5a04")
|
|
|
|
[node name="returnBtn" type="Button" parent="." unique_id=2089710932]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
text = "重新开始游戏"
|
|
|
|
[node name="exitBtn" type="Button" parent="." unique_id=100260653]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
text = "退出游戏"
|