예제 #1
0
 void Awake()
 {
     o_MsgBox = GameObject.Find("scene_msgbox");
     o_Msg    = GameObject.Find("scene_msgbox/lbl_msgbox_msg");
     if (instance == null)
     {
         instance = this;
     }
 }
예제 #2
0
 private void OnDestroy()
 {
     instance = null;
 }