Example #1
0
 void HeroHasChosenCharacter()
 {
     // runtimeChoices.character = finalChoice;
     runtimeChoices.chosenHero = characterChoices[choice - 1];
     Debug.Log("Hero has chosen a character! It is: " + characterChoices[choice - 1].myName);
     audioList = FindObjectOfType <AudioList>();
     audioList.OnHeroPicked();
     if (runtimeChoices.chosenHero.myName != "Baahhd Sheep")
     {
         Invoke("SwitchToGodSelection", 1.9f); // switching from character select to theme select
         return;
     }
     Invoke("SwitchToGodSelection", 1.2f); // switching from character select to theme select
 }