hello to everyone. I work a job and I want when the user of the game, play with an object A1, A1 object to connect to the database. How to display the data of A1 object from the database within UNITY; Thanks in advance Sorry for my english
Basically you have a script on the server that extracts the data from database and then use this class http://docs.unity3d.com/Documentation/ScriptReference/WWW.html in unity to access that script and retrieve the data. There is also the option of direct connection to the database but i haven't used.
I wouldn't recommend the direct DB connection since that would mean that every client has your DB-Login details saved. Go try to work with WWW (recommended) or WWW-Forms and let the PHP script do the DB querys generating an XML File which outputs the query results.