void Awake() { m_Instance = this; //Parse the row data into the individual columns for (int x = 0; x < 16; x++) { columns.Add(new List <GameObject>()); for (int y = 0; y < 5; y++) { columns[x].Add(rows[y].transform.GetChild(x).gameObject); } } }
void OnDestroy() { m_Instance = null; }