public static void Init() { if (SYS.debugSingleton) { print("Singleton Init"); } objs = TransTool.GetComsScene <SingletonBase>(); }
void Awake() { list = TransTool.GetComsScene <HideOnAwake>(); foreach (var hoa in list) { hoa.SetParent(transform); } gameObject.SetActive(false); }
void HaveALook() { list = TransTool.GetComsScene <HideOnAwake>(); }
void GetList() { listDis = TransTool.GetComsScene <DisActiveOnAwake>(); list = TransTool.GetComsScene <ActiveOnAwake>(); }