Пример #1
0
 public void Revive()
 {
     animController.AnimateRevive();
     deathHandled = false;
     gameObject.GetComponent <Strategy>().setAsCoopAI();
     gameObject.GetComponent <Collider>().enabled = true;
     deadCollider.enabled = false;
     currentHealth        = 1;
     tm.UpdateDeathCount(-1);
 }