IEnumerator LoginUser(string user, string pass) { WWWForm login = new WWWForm(); login.AddField("userPost", user); login.AddField("passPost", pass); WWW www = new WWW(getUser, login); yield return(www); txtResultado.text = www.text; print(www.text); if (www.text == "Login OK") { SceneMan.Escena_index(); } }