Пример #1
0
    public void SendTheMail()
    {
        if (!ValidateText(InputFieldBody.text))
        {
            return;
        }
        Debug.Log("Send The respond!!!");
        MailMessage newMail = new MailMessage("Re: " + Title.text,
                                              InputFieldBody.text,
                                              _characterManager.UserPlayer.Id,
                                              ActiveMessage.SenderId);

        newMail.Print();
        _userDatabase.AddMailMessage(newMail);
        RefreshTheScene();
    }