This commit is contained in:
huadexuan committed 2026-09-03 21:18:20 +08:00
1 parent fb353c45a7
commit 84d0a510bb
46 files changed
+9866 -94

No files matched your search

+2
View File
@@ -16,6 +16,8 @@ public class WorldHealthBar : MonoBehaviour
// 当前技能能量,范围会自动限制在 0 到 maxEnergy 之间。
[Min(0f)] public float currentEnergy = 0f;
public bool IsEnergyFull => !isDead && currentEnergy >= maxEnergy;
// 血条相对于单位头顶的额外高度。
[Min(0f)] public float heightOffset = 0.25f;