MoveMainWindowTo(in DisplayInfo, Vector2Int)
The Device Simulator doesn't simulate this method.
Read time 1 minuteLast updated 7 days ago
Definition
- Type: Method
- Namespace: UnityEngine.Device
- Assembly: UnityEngine.CoreModule
MoveMainWindowTo(DisplayInfo, Vector2Int)
public static AsyncOperation MoveMainWindowTo(in DisplayInfo display, Vector2Int position)
Parameters
The target display where the window should move to.
The position the window moves to. Relative to the top left corner of the specified display in pixels.
Returns
Type | Description |
|---|---|
| AsyncOperation | Returns AsyncOperation that represents moving the window. |