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