コード例 #1
0
 /// <summary>
 /// show a message box with multiple buttons as options
 /// </summary>
 /// <param name="msg">Message.</param>
 /// <param name="msgOptions">Message options.</param>
 public void showMessageOptions(string msg, List <string> msgOptions, ReturnFromMsgBox r, string title = "Attention")
 {
     displayMsg       = msg;
     this.msgOptions  = msgOptions;
     returnFromMsgBox = r;
     displayTitle     = title;
     currMsgType      = msgType.msgBoxOptions;
     show             = true;
 }
コード例 #2
0
 public void showTextMessageBox(string msg, ReturnFromMsgBox r, string defaultTxt = "enter text here", string title = "Attention")
 {
     displayMsg       = msg;
     displayTitle     = title;
     returnFromMsgBox = r;
     currMsgType      = msgType.textInput;
     stringToReturn   = defaultTxt;
     show             = true;
 }
コード例 #3
0
 public void showMessage(string msg, ReturnFromMsgBox r = null, string title = "Attention")
 {
     displayMsg       = msg;
     displayTitle     = title;
     returnFromMsgBox = r;
     currMsgType      = msgType.msgBox;
     show             = true;
     Debug.Log("Message: " + msg);
 }
コード例 #4
0
ファイル: messageBox.cs プロジェクト: KingVIRTUAL/PAGIworld
 public void showTextMessageBox(string msg, ReturnFromMsgBox r, string defaultTxt="enter text here", string title="Attention")
 {
     displayMsg = msg;
     displayTitle = title;
     returnFromMsgBox = r;
     currMsgType = msgType.textInput;
     stringToReturn = defaultTxt;
     show = true;
 }
コード例 #5
0
ファイル: messageBox.cs プロジェクト: KingVIRTUAL/PAGIworld
 /// <summary>
 /// show a message box with multiple buttons as options
 /// </summary>
 /// <param name="msg">Message.</param>
 /// <param name="msgOptions">Message options.</param>
 public void showMessageOptions(string msg, List<string> msgOptions, ReturnFromMsgBox r, string title="Attention")
 {
     displayMsg = msg;
     this.msgOptions = msgOptions;
     returnFromMsgBox = r;
     displayTitle = title;
     currMsgType = msgType.msgBoxOptions;
     show = true;
 }
コード例 #6
0
ファイル: messageBox.cs プロジェクト: KingVIRTUAL/PAGIworld
 public void showMessage(string msg, ReturnFromMsgBox r=null, string title="Attention")
 {
     displayMsg = msg;
     displayTitle = title;
     returnFromMsgBox = r;
     currMsgType = msgType.msgBox;
     show = true;
     Debug.Log("Message: " + msg);
 }