public static Message ShowOkBox(string text, CallBackFunc func = null) { if (mInstance) { Message msg = new Message(); msg.mType = MsgBoxType.Msg_OK; msg.mInfotype = MsgInfoType.NoticeOnly; msg.mContent = text; msg.mOkFunc = func; mInstance.mMsgs.Add(msg); mInstance.ResetMsgBox(); return(msg); } return(null); }