- Home /
Retrieve a value from a PHP file and print it on the Unity3D console.
As I have mentioned in my previous question, I have created a quiz game which is of .html format, and I am sending the final score to a .php file, which is done successfully. And I'm calling the .html file by using Application.ExternalCall()
in Unity3D, which are all happening correctly.
Now I want to just print the score which is in .php file, on the Unity console. And the question is: How that is to be done? Any suggestions? Thanks in advance.
Answer by SkaredCreations · Mar 30, 2012 at 08:28 AM
Use WWW class to call your PHP file and parse its .text (you can also send parameters to PHP adding a WWWForm to the request)
Your answer
Follow this Question
Related Questions
A node in a childnode? 1 Answer
PHP - Unity Scoreboard 1 Answer
Help with modified php code from highscore tutorial 2 Answers
Print String 3 Answers
help to call noramlisd database to unity 0 Answers