Exemplo n.º 1
0
 IEnumerator PostgameSequence()
 {
     if (postgame.Count > 0)
     {
         postgamePanel.SetActive(true);
         int i = 0;
         while (i < postgamePanel.transform.childCount)
         {
             postgamePanel.transform.GetChild(i).SetAsLastSibling();
             i += 1;
             yield return(swapDelay);
         }
     }
     StaticDelegates.FadeOut();
 }
Exemplo n.º 2
0
 public void StartGame()
 {
     StaticDelegates.FadeOut();
     GameManager.ResetVariables();
     PlayerData.NewRun();
 }