In Start() we place each single visual in an array. Why do we then use x and z to discretely pick elements out of that array rather than simply looping through it directly? E.g. (note my GridSystemCellVisual = GridSystemVisualSingle):
public void HideAllGridPositions() {
foreach (GridSystemCellVisual gridSystemCellVisual in gridSystemCellVisualArray) {
gridSystemCellVisual.Hide();
}
}
This was how I implemented it for the challenge, and it works, but I’m not sure if I’m missing something or if there might be a flaw that will pop up later.