기술 자료

Unity Engine

Unity Engine

SleepTimeout

Constants for special values of Screen.sleepTimeout.
읽는 시간 1분최근 업데이트: 11시간 전

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

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