private void Awake() { singleton = this; nodePrefab = Resources.Load("NodePrefab") as GameObject; createGrid(); }