1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-06-01 17:01:53 +08:00

feat: 更新FullscreenPanelBase和VectorStar组件,优化UI布局和武器属性

This commit is contained in:
2025-09-06 21:12:11 +08:00
parent 0f3dc2ca9f
commit 6a4f5e8baf
5 changed files with 31 additions and 21 deletions
+3 -1
View File
@@ -21,6 +21,8 @@ func _ready():
energyPercent = $"%percent"
itemCollect = $"%itemCollect"
skillIconContainer = $"%skillContainer"
# for i in FieldStore.entityMap:
# print(FieldStore.entityMap[i])
func _process(_delta):
bossbar.visible = !!bossbar.entity
func _physics_process(_delta):
@@ -47,7 +49,7 @@ func _physics_process(_delta):
fieldsAnimator.play("hide")
if Input.is_action_just_pressed("pause"):
if currentPanel:
if currentPanel.name == "Pause":
if currentPanel.name != "MakeFeed":
closeCurrentPanel()
else:
setPanel("Pause")