17 lines
279 B
C#
17 lines
279 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class DisableAtStart : MonoBehaviour
|
|
{
|
|
[SerializeField]
|
|
private GameObject[] m_Objects = null;
|
|
|
|
|
|
private void Start()
|
|
{
|
|
foreach(var obj in m_Objects)
|
|
obj.SetActive(false);
|
|
}
|
|
}
|