Great course and I’m learning so much.
I just have a quick question and apologize if it has been asked before.
The size of the Grid is set in the LevelGrid.cs class in Awake. Should it just ignore this for now as it is touched on later on in the course?
I was also curious as to the reason why it was set here rather than the GridSystem struct instead.
private void Awake()
{
// Set the instance
if (Instance != null)
{
Debug.LogError("There's more than one Level Grid! " + transform + " - " + Instance);
Destroy(gameObject);
return;
}
Instance = this;
//TODO get rid of Magic Numbers?
gridSystem = new GridSystem(10, 10, 2f);
gridSystem.CreateDebugObjects(gridDebugObjectPrefab);
}