ドキュメント

Unity Engine

Unity Engine

SleepTimeout

Constants for special values of Screen.sleepTimeout.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Class
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public sealed class SleepTimeout

Remarks

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

Static Fields

Value

Description

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