Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Login Scene With Unity3D

    • 0
    • 1
    • 1
    • 1
    • 0
    • 0
    • 0
    • 0
    • 536
    Comment on it

    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)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: