Version: 2021.3

Screen.MoveMainWindowTo

切换到手册
public static AsyncOperation MoveMainWindowTo (ref DisplayInfo display, Vector2Int position);

参数

display The target display where the window should move to.
position The position the window moves to. Relative to the top left corner of the specified display in pixels.

返回

AsyncOperation Returns AsyncOperation that represents moving the window.

描述

The Device Simulator doesn't simulate this method.