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"); } }
public void EnableCaveman() { caveman.transform.position = new Vector3(-8, 1.3f, 0); caveman.EnableScripts(true); shaman.Summon(false); }