blob: 6f1330013a515e3c5810c9c36018d9af5c8e4971 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
using UnityEngine;
public class EnableAllChildren : MonoBehaviour
{
private void Start()
{
for (int i = 0; i < base.transform.childCount; i++)
{
base.transform.GetChild(i).gameObject.SetActive(value: true);
}
}
}
|