Most of the Apps or Games required Login scene.
Login in any App or Game should be secure from the hackers.
Today I am going to show how you can use Login in Unity3D.
It is secure and very fast process for the login.
private string url = "www.mysiteURL";
WWW form = new WWWForm();
form.AddField("UserName","Inder");
form.AddField("Password","Singh");
WWW www = new WWW(url,form);
yield www; // Wait until the checking is done
if(www.error)
{
print("Login not successfully...");
}
else
{
print("Login successfully...");
// Apply your code here now...
}
Enjoy Coding.. :)
0 Comment(s)