1
This commit is contained in:
1 parent
fb353c45a7
commit
84d0a510bb
46 files changed
+9866
-94
No files matched your search
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user