Esempio n. 1
0
 void OnGUI()
 {
     if (!_instance)
     {
         _instance = this;
     }
     //SwitchPage();
     //switchGrp = GameObject.Find("switch");
     //switchGrp.GetComponent<SwitchCtrl>().switchStatus();
 }
Esempio n. 2
0
 public void Awake()
 {
     _instance = this;
 }