public IEnumerator CO_Createuser(string user, string email, string pass, string repass, Action response) {
WWWForm form = new WWWForm();
form.AddField("user", user);
form.AddField("email", email);
form.AddField("pass", pass);
form.AddField("repass", repass);
WWW w = new WWW("http://localhost:80/Game/createuser.php", form);
yield return w;
Debug.Log(w.text);
response(JsonUtility.FromJson<Response>(w.text));
}
Esto probe perotamoco me funciono
UnityWebRequestweb=UnityWebRequest.Get("http://localhost:8080/webServicePlataformaDigital/Login.php"+"?alias="+u+"&&password="+p);
source https://stackoverflow.com/questions/76575714/could-someone-help-me-in-my-code-it-appears-that-www-is-obsolete-and-that-i-have
No comments:
Post a Comment