mainWindowDisplayInfo
The display information associated with the display that the main application window is on.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public static DisplayInfo mainWindowDisplayInfo { get; }
Remarks
This API does not allocate managed memory outside of the Editor. You can access this property without generating garbage or triggering the garbage collector. It is only supported on Linux, macOS and Windows Standalone.