Hello Ladys and Gentlemen!
Thanks for looking at my question! So I created a PHP file which successfully registers new users with the help of the UnityWebRequest, but i want to get the Debug.Log from the downloadHandler into my Game. So it tells me which errors I made, for example Username already exists / Creating User… / Registered User successful. So i tried to just create a common public GameObject, and give it the text from the downloadHandler. So it looked something like that:
NameOfGameObject.GetComponent().text = Debug.Log(www.downloadHandler.text);
And I know by myself after i tried that it’s pretty dumb because i obviously can’t convert a void into a string but how can i get the echo from the console into my Game? The PHP file works fine and gives me the correct Errors and shows them right in the console but Iam stumped how I can show it in my Game.
Thanks for reading my Question, have a wonderful day
Yours
Puiki