Exemplo n.º 1
0
    public void OnClickRegisterBut()
    {
        string msg = "";

        if (string.IsNullOrEmpty(usernameIF.text))
        {
            msg += "用户名不能为空 ";
        }
        if (string.IsNullOrEmpty(passwordIF.text))
        {
            msg += "密码不能为空 ";
        }
        Debug.Log("按钮点击成功");
        registerRequest.sendRequest(usernameIF.text, passwordIF.text);
    }