I'm having some troubles with this script, for some reason it doesn't let me do this.
Whats the problem with it? How can I solve it?
public void Reg_Click(){ RegistrationResponse response = new RegistrationRequest().SetUserName("x").SetDisplayName("x").SetPassword("x").Send(); if (!response.HasErrors) { Estado.text = "Sucess"; } else { Estado.text = "Error"; } }
public void Reg_Click() { new RegistrationRequest().SetUserName("x").SetDisplayName("x").SetPassword("x").Send((response) => { if (!response.HasErrors) { Estado.text = "Sucess"; } else { Estado.text = "Error"; } }); }
Tiago Costa
I'm having some troubles with this script, for some reason it doesn't let me do this.
Whats the problem with it? How can I solve it?
Try it like this:
David Brandes
Try it like this:
-
Documentation Notes
-
Design issues with user events
-
Using NoSQL
-
Runtime Collections vs Metadata Collections
-
Anonymous authentication from browser app
-
Modules
-
Movement With Unity
-
Problem with url parameters for downloadables
-
Querying NoSql GameSparks database
-
Challenge accesType
See all 2487 topics