Пример #1
0
 void Awake()
 {
     o_MsgBox = GameObject.Find("scene_confirmbox");
     o_Msg    = GameObject.Find("scene_confirmbox/lbl_confirm_msg");
     if (instance == null)
     {
         instance = this;
     }
 }
Пример #2
0
 private void OnDestroy()
 {
     instance = null;
 }