예제 #1
0
 public HealthComponent(BaseBeing _owner, float _maxHealth, BloodParticles _particles, HealthBar _barView = null)
 {
     Owner     = _owner;
     MaxHealth = CurrentHealth = _maxHealth;
     particles = _particles;
     barView   = _barView;
 }
예제 #2
0
 void Awake()
 {
     instance = this;
 }