Hi , i have an android game which using sensors for moving the characters , but the problem that after a few time the mobile screen turns off , if there any way to make it always turning on , thanks
Screen.sleepTimeout = SleepTimeout.NeverSleep;
This line of code makes sure that while your application is active, your screen will never turn off.
Cheers