12345678910111213141516171819 |
- 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
-
- }
- }
-
- }
- }
|