16 lines
389 B
C#
16 lines
389 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
public class FileTeam : MonoBehaviour {
|
|
public Text Text_Btn;
|
|
public List<GameObject> ChildObjs=new List<GameObject> ();
|
|
int i;
|
|
public void ShowDis ()
|
|
{
|
|
for (i = 0; i < ChildObjs.Count; i++)
|
|
ChildObjs[i].SetActive(!ChildObjs[i].activeSelf);
|
|
}
|
|
}
|