文档

Unity Engine

Unity Engine

wantsSoftwareDimming

Indicates whether the screen may be dimmed lower than the hardware is normally capable of by emulating it in software.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEngine.iOS
  • Assembly: UnityEngine.CoreModule
public static bool wantsSoftwareDimming { get; set; }

Remarks

This property changes the scale used by [Screen.brightness]. It's value should be set before attempting to change the Screen.brightness. Enabling it may cause a negative effect on performance.