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