unity 3d array code example Example: unity array c# GameObject[ ] carsInTheScene = GameObject.FindGameObjectsWithTag("car");