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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user