//TODO: make sure the file to read is not hard coded as 0 or only the first file will load. public void LoadLevelGrid(int index) { if (asciiReader == null) { Debug.LogError("No Ascii Reader component found."); return; } SpawnGrid(asciiReader.ParseTextToPrefab(fileReader.ReadFile(index))); }