Пример #1
0
    void OnClickOk()
    {
        if (accountInput.text == "")
        {
            FastTips.Show("用户名不能为空!");
            return;
        }
        if (passwordInput.text == "")
        {
            FastTips.Show("密码不能为空!");
            return;
        }

        LoginSystem.LoginReq(accountInput.text, passwordInput.text);
        PlayerPrefs.SetString(AccountKey, accountInput.text);
    }