mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-06-05 03:07:12 +08:00
feat(UI): 为ColorBar添加currentValue属性并完善boss血条逻辑
为ColorBar组件添加currentValue属性以跟踪当前值。同时修复当设置boss时未正确更新血条显示的问题,确保boss血条在切换目标时能正确显示初始血量。
This commit is contained in:
@@ -36,6 +36,7 @@ anchors_preset = 0
|
||||
offset_right = 100.0
|
||||
offset_bottom = 10.0
|
||||
script = ExtResource("1_a106p")
|
||||
currentValue = 0.0
|
||||
backBox = SubResource("StyleBoxFlat_kf2fc")
|
||||
middleBox1 = SubResource("StyleBoxFlat_sh754")
|
||||
middleBox2 = SubResource("StyleBoxFlat_8n8i8")
|
||||
|
||||
Reference in New Issue
Block a user