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