Hello,
I have searched up and down for some information on using PHP to generate content in Unity. Here is what I am trying to do:
The goal is to create an interface in the webplayer generated by entries in a php document.
Example:
Unity contacts php. The php file tells Unity that there are 2 entries. Each entry is for a separate webplayer game. Unity retrieves 2 URLs per entry (one for the webplayer and one for an image location). So now Unity has information that there are 2 games on my server. Unity uses this info to instantiate a prefab (a simple pane) that will act as a button. Once the button is created, the PNG image is applied as a render texture, and the webplayer url is attached in the button script. The newly created button can now be clicked and it will load the new webplayer game.
In this manner a menu list can be dynamically generated based on how many entries there are in the php file. (hopefully all this makes sense)
Since I am a beginner in PHP and C# I am looking for a basic example of the php and the C# script to get me started.
Thank you.