using System.Collections; using System.Collections.Generic; using UnityEngine; public class GalaxyManager : MonoBehaviour { public GameObject[] objectsToDeactivate0; public GameObject[] objectsToDeactivate1; // Start is called before the first frame update void Start() { for (int i = 0; i < objectsToDeactivate0.Length; i++) { objectsToDeactivate0[i].SetActive(false); // deactivate the game object } } // Update is called once per frame void Update() { } }