MoveMainWindowTo(in DisplayInfo, Vector2Int)
The Device Simulator doesn't simulate this method.
阅读时间1 分钟最后更新于 1 个月前
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. |