- Home /
Using a distant database?
Hello there, I've been wondering if we could use an internet-hosted database to stock properties of the objects, that would be synchronized by the application on-launch.
For exemple, I have 2 PCs,3 iPads and also a web version of a game where there's only a cube. The cube's parameters are stocked in a distant database. if I modify some parameters of the cube via the database, it should be taken into account the next time each user launches its application.
Of course, I'm speaking about Unity Pro. Could you please tell me if it's possible with common tools (assets)?
Thank you
Yes you can easily access information from a database using the www class.
The typical approach would be creating a php file that connects to a sql database and returns or adds entries into the database.
Answer by Statement · May 03, 2013 at 04:07 PM
See this example on unify wiki for Unity/PHP/SQL interaction with WWW.