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

fix(UI): 修复EntityStateBar中levelLabel的引用问题

将levelLabel的引用更新为levelLabels以匹配场景中的节点名称,并确保节点在场景树中的唯一性
This commit is contained in:
2025-08-28 12:58:00 +08:00
parent e877655c13
commit 1f2bac326f
3 changed files with 3 additions and 1 deletions
+1
View File
@@ -5,3 +5,4 @@ class_name EntityStateBar
@onready var healthBar: ColorBar = $"%health"
@onready var levelLabel: Label = $"%level"
@onready var levelLabels: HBoxContainer = $"%levelLabel"