What is the update for iPhoneSettings.screenCanDarken. I get an error stating that this script is out dated. It doesn't seem work on my android device any more.
thanks
What is the update for iPhoneSettings.screenCanDarken. I get an error stating that this script is out dated. It doesn't seem work on my android device any more.
thanks
http://unity3d.com/support/documentation/ScriptReference/iPhoneSettings.html
I'd ignore the prompt... If you put in (I think) the island demo in to 3.3, it auto updates, and says some things are outdated, but it still works, at least from what I found... Someone might have more insight, but meh.
Hope it helps a little.
http://unity3d.com/support/documentation/ScriptReference/Screen-sleepTimeout.html
This is the most up to date solution.
Screen.sleepTimeout = 0.0f;
Thanks