Exemplo n.º 1
0
 private void Awake()
 {
     healthComponent = GetComponent <HealthComponent>();
     healthComponent.InitialHealth(baseSettings.health);
     healthComponent.OnDeath += Death;
 }