1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-31 00:11:54 +08:00

加入了暂停,把波次改回原版了

This commit is contained in:
2025-08-28 21:39:15 +08:00
parent e40aef85f4
commit 77e6711358
5 changed files with 39 additions and 4 deletions
+6
View File
@@ -43,6 +43,12 @@ func _physics_process(_delta):
fieldsAnimator.play("show")
if Input.is_action_just_released("showFields"):
fieldsAnimator.play("hide")
if Input.is_action_just_pressed("pause"):
if currentPanel:
if currentPanel.name == "Pause":
closeCurrentPanel()
else:
setPanel("Pause")
static func setPanel(targetName: String = ""):
currentPanel = null