Galaxy Generator
This commit is contained in:
24
Assets/GalaxyManager.cs
Normal file
24
Assets/GalaxyManager.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
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()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user