Exemplo n.º 1
0
 public void collectShrimp(GameObject sh)
 {
     persistentDataScript.CollectShrimp();
     if (Shrimps.Contains(sh))
     {
         int index = Shrimps.IndexOf(sh);
         collectedShrimps[index] = 1;
     }
 }