unity keep screen always on code example Example: unity keep screen always on Screen.sleepTimeout = SleepTimeout.NeverSleep;