示例#1
0
    public void OnOK()
    {
        this.FixDialog?.Invoke(DialogResult.OK);
        Debug.Log("##### BoardInputDialogOkCancel OK CLICK boardNameValue=" + boardNameValue + ",messageValue=" + messageValue);

        AnchorsMsgBoard.SetInputBoardMessage(boardNameValue, messageValue);
        AnchorsMsgBoard.DialogClose(true);
        Destroy(this.gameObject);
    }
示例#2
0
 public void OnMessgaeEndEdit()
 {
     Text[] inputMsg = this.GetComponentsInChildren <Text>();
     for (int i = 0; i < inputMsg.Length; i++)
     {
         Debug.Log("*** OnMessgaeEndEdit " + inputMsg[i].name);
         if (inputMsg[i].name == "TextMessage")
         {
             AnchorsMsgBoard.SetInputBoardMessage("", inputMsg[i].text);
             i = inputMsg.Length;
         }
     }
 }