private void Awake() { o_MsgBox = GameObject.Find("scene_msgbox"); o_Msg = GameObject.Find("scene_msgbox/lbl_msgbox_msg"); o_MsgBox.SetActive(true); if (instance == null) { instance = this; } }
private void OnDestroy() { instance = null; }