Version: 2021.3

Screen.brightness

切换到手册
public static float brightness ;

描述

当前的屏幕亮度。

The value of this property is a number between 0.0 and 1.0. Note: On iOS brightness changes that your application makes remain in effect until the device is locked, regardless of whether the application is closed. The system brightness is restored the next time the display is turned on.