Topened my script this morning and unity freaked out:
private IEnumerator RegisterAcount(){
WWWForm Form = new WWWForm();
Form.AddField(“Username”, Username);
Form.AddField(“Pass”, Pass);
WWW RegisterAccountWWW = new WWW(RegisterURL, Form);
yield return RegisterAccountWWW;
if(RegisterAccountWWW.error = !null){
Debug.Log("Cannot Connect");
} else {
Isloggedin.SetActive(true);
IsNotLoggedIn.SetActive(false);
Debug.Log("IS LOGGED IN... BITCHIES");
}
} // End IEnumerator.