// Set all objects in list to true: public class Program : MonoBehaviour { public GameObject[] list; void Start() { foreach (var obj in list) { obj.SetActive(true); } } }