Files
project1_Space4x/Assets/GalaxyManager.cs
2023-06-05 15:34:37 +02:00

25 lines
547 B
C#

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()
{
}
}