public void Descend()
 {
     audioSystem.Kill("boss");                    // string must be "player" or "boss"
     scoreSystem.AddScore(Random.Range(0, 1000)); // add X amount to the score
     DisableEnabled();
     Invoke("MoveCorpse", 2f);
 }
Example #2
0
 public void Ascend()
 {
     Invoke("MoveCorpse", 2f);
     DisableEnabled();
     //gameObject.tag = "Untagged";
     deathScreen.SetActive(true);
     audioSystem.Kill("player"); // string must be "player" or "boss"
 }