I wanted to create a game which is going to use a SQL db and some server-side scripting (such as php).
It’s nothing big and it’s not an online game but it requires some online features. I would like to know just if it is possible. I just want to create dynamic gameObjects using values which are going to be stored on a DB for their respective transform position .x, .y and .z properties.
You would be better off creating a json file that you store on the server. Then you get it with WWW and start parsing the data.
WWW www = new WWW(url + objectName);
yield return www;
// Should check if it worked here
string json = www.text;
JSONObject jsonObj = JSON.CreateJSON(json);
JSONArray object = jsonObj.GetArray("objects");
// then you continue parsing whatever data you need
// Finally you turn the data into actual game object