Version: 2023.2

Screen.mainWindowPosition

切换到手册
public static Vector2Int mainWindowPosition ;

描述

The position of the top left corner of the main window relative to the top left corner of the display.

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