ArrayList a = new ArrayList(); GameObject g = new GameObject("g"); a.Add(g); GameObject[] go = (GameObject[])a.ToArray(typeof(GameObject));
ArrayList a = new ArrayList(); GameObject g = new GameObject("g"); a.Add(g); GameObject[] go = (GameObject[])a.ToArray(typeof(GameObject));