问题
I am trying to signup a new ParseUser using the Unity SDK (Parse 1.3.2). I follow the tutorial and use the code below to do the signup, however, I get an error:
'Parse.ParseUser' does not contain a definiton for 'Password'
Why does it recognize Username and Email, but not Password? It is driving me nuts...
My code:
var user = new ParseUser()
{
Password= myPassword,
Username = name,
Email = "email@example.com"
};
user.SignUpAsync();
回答1:
Use below code will do:
var user = new ParseUser();
user.setEmail(Email);
user.setUserName(..);
user.setPassword(..);
来源:https://stackoverflow.com/questions/27697651/parseuser-unity-sdk-missing-definition-for-password