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