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