displays
The list of connected displays.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Field
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public static Display[] displays
Remarks
In a built application, Unity populates this list when the application starts. It always contains at least one (main) display.
In the Unity Editor, is not supported; always has a value of 1, regardless of how many displays you have connected.
displaysdisplays.LengthAdditional Resources: Display.main.