Esempio n. 1
0
 protected override void DestroyInternal()
 {
     _health = null;
     _prefab = null;
 }
Esempio n. 2
0
 private void OnHealthChanged(Entity e, HealthModule h, int delta)
 {
     _desiredScale = (float)h.HitPoints / (float)h.MaxHitPoints;
 }