Example #1
0
 // Collect objects
 public void collectSecret(GameObject shhhh)
 {
     persistentDataScript.CollectSecret();
     if (Secrets.Contains(shhhh))
     {
         int index = Secrets.IndexOf(shhhh);
         collectedSecrets[index] = 1;
     }
 }