예제 #1
0
 private void KillPlayer()
 {
     if (runes.GetActiveRuneCount() > 0)
     {
         transform.position = cavemanStartPos;
         StopCoroutine("Blink");
         enabledCaveman.EnableScripts(false);
         health = startHealth;
         life.UpdateHealthUI(health);
         dw.SetWordTracker(11);
         dw.EnablePanel(true);
     }
     else
     {
         LevelManager.instance.LoadScene("End_Lose");
     }
 }
예제 #2
0
 public void EnableCaveman()
 {
     caveman.transform.position = new Vector3(-8, 1.3f, 0);
     caveman.EnableScripts(true);
     shaman.Summon(false);
 }