private void CheckForReproduction() { for (int x = 0; x < fieldSize.x; x++) { for (int y = 0; y < fieldSize.y; y++) { Carrot carrot = carrots[x, y]; if (carrot == null) { continue; } if (!carrot.IsReadyToReproduce()) { continue; } carrot.IncrementReproduceTimer(); ReproduceInAdjacentTile(new Vector2Int(x, y)); } } }