示例#1
0
 void Awake()
 {
     o_loading_panel = GameObject.Find("scene_waiting");
     o_loading_wait  = GameObject.Find("scene_waiting/sp_wait");
     o_btnQuit       = GameObject.Find("scene_waiting/btn_cancel");
     if (instance == null)
     {
         instance = this;
     }
 }
示例#2
0
 private void OnDestroy()
 {
     instance = null;
 }