using System.IO.IsolatedStorage; using UnityEngine; namespace Plugins.CxShine.UIUtil { public class ContainerUtil { public static void RemoveAllChild(MonoBehaviour be,Transform tr) { for (int i = 0; i < tr.childCount; i++) { tr.GetChild(i).gameObject.SetActive(false); // tr.GetChild(i).gameObject.de } } } }