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