I would like to know something I have been throwing my head into for months.
How do we make an app that updates continuously. For example a news app that needs to report something daily. Like certain contents change all the
time
. And this is to be done on iPhone
Any Help would be appreciated
Thanks
Store the content that needs to be updated on a web server and access it through Unity3D using the WWW class.
For example say you have a game and want to update game balance values without pushing out a new app update. You might store the values in a local copy of a file like so:
Filename = LocalBalance.txt
Version 1
SomeUnitSpeed = 1
SomeUnitAttack = 1
Then you could use the WWW class to grab the file off your server.
IEnumerator GrabFile()
{
WWW pGetFile = new WWW(url);
yield return pGetFile;
// Get the contents of the page as a string
string pszResult = pGetFile.text;
}
That’s the basic idea anyway.