Example #1
0
        public void ShowMessageBox(string title, string context, MsgStyle style, MessageBoxResultDelegate callback)
        {
            this.lblNote.text = context;
            this.callback     = callback;
            this.title.text   = title;

            this.ResetButtons();

            //if (style == MsgStyle.Yes)
            //{
            //    U3DMod.SetActive(btnSubmit, true);
            //}
            //else if (style == MsgStyle.YesAndNo)
            //{
            //    U3DMod.SetActive(btnYes, true);
            //    U3DMod.SetActive(btnNo, true);
            //}
            //else
            //{
            //    U3DMod.SetActive(btnNo2, true);
            //    U3DMod.SetActive(btnYes, true);
            //    U3DMod.SetActive(btnCancel, true);
            //}
        }
Example #2
0
        public void ShowMessageBox(string title, string context, MsgStyle style, MessageBoxResultDelegate callback)
        {
            this.lblNote.text = context;
            this.callback = callback;
            this.title.text = title;

            this.ResetButtons();

            //if (style == MsgStyle.Yes)
            //{
            //    U3DMod.SetActive(btnSubmit, true);
            //}
            //else if (style == MsgStyle.YesAndNo)
            //{
            //    U3DMod.SetActive(btnYes, true);
            //    U3DMod.SetActive(btnNo, true);
            //}
            //else
            //{
            //    U3DMod.SetActive(btnNo2, true);
            //    U3DMod.SetActive(btnYes, true);
            //    U3DMod.SetActive(btnCancel, true);
            //}
        }