示例#1
0
 public void ResetGame()
 {
     playerStats    = new int[7];
     seenCharacters = new List <Character>();
     daysLeft       = NumDaysPerGame;
     statsUI.SetStats(playerStats);
     statsUI.HideStats();
     locationSelectUI.SetActive(false);
     dayEventParent.SetActive(false);
     finalDayUIParent.SetActive(false);
     resultUIParent.SetActive(false);
     startGameUIParent.SetActive(true);
     foreach (GameObject go in askButtons)
     {
         Destroy(go);
     }
     askButtons = new List <GameObject>();
 }