SleepTimeout
Constants for special values of Screen.sleepTimeout.
読み終わるまでの所要時間 1 分最終更新 19時間前
Definition
- Type: Class
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public sealed class SleepTimeout
Remarks
Use these constants to set Screen.sleepTimeout so that the screen can't dim or sleep, or to restore the system setting.
Static Fields
Value | Description |
|---|---|
| NeverSleep | Prevent screen dimming. |
| SystemSetting | Set the sleep timeout to whatever the user has specified in the system settings. |