Exemplo n.º 1
0
 public void unlockFeature(unlockableFeatures featToUnlock)
 {
     if (!unlockedFeatures.Contains(featToUnlock))
     {
         unlockedFeatures.Add(featToUnlock);
         // Debug.Log("feature unlocked");
     }
 }
Exemplo n.º 2
0
 public bool checkIfFeatureUnlocked(unlockableFeatures feature)
 {
     return(unlockedFeatures.Contains(feature));
 }