SleepTimeout

class in UnityEngine

/

Implemented in:UnityEngine.CoreModule

Description

Constants for special values of Screen.sleepTimeout.

Use them to specify something other than a fixed amount of seconds before dimming the screen.

Static Properties

NeverSleepPrevent screen dimming.
SystemSettingSet the sleep timeout to whatever the user has specified in the system settings.

Did you find this page useful? Please give it a rating: