Exemple #1
0
    public void Connect()
    {
        if (string.IsNullOrEmpty(userNameInputField.text))
        {
            return;
        }

        gameObject.SetActive(false);
        ChatClient.ME.Connect(userNameInputField.text, colorSelector.GetCurrentColor());
    }