Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


MoveMainWindowTo(in DisplayInfo, Vector2Int)

The Device Simulator doesn't simulate this method.
Read time 1 minuteLast updated 7 days ago

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.