예제 #1
0
 public void LoadGame(bool[] upgradesUnlocked)
 {
     for (int i = 0; i < upgradesUnlocked.Length; i++)
     {
         if (upgradesUnlocked[i] == true)
         {
             UpgradeButtons[i].interactable = false;
             UpgradesBrought[i]             = true;
             physicalUpgrade[i].SetActive(true);
             plotCollection.Upgrade(i);
         }
     }
 }