Documentation

Unity Engine

Unity Engine

mainWindowPosition

The position of the top left corner of the main window relative to the top left corner of the display.
Read time 1 minuteLast updated 2 months ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static Vector2Int mainWindowPosition { get; }

Remarks

This API is only supported on Linux, macOS and Windows Standalone.