文档

Unity Engine

Unity Engine

MoveMainWindowTo(in DisplayInfo, Vector2Int)

The Device Simulator doesn't simulate this method.
阅读时间1 分钟最后更新于 1 个月前

Definition

MoveMainWindowTo(DisplayInfo, Vector2Int)

public static AsyncOperation MoveMainWindowTo(in DisplayInfo display, Vector2Int position)

Parameters

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.

Returns

Type

Description

AsyncOperationReturns AsyncOperation that represents moving the window.