기술 자료

Unity Engine

Unity Engine

mainWindowDisplayInfo

The display information associated with the display that the main application window is on.
읽는 시간 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.