ドキュメント

Unity Engine

Unity Engine

GetMainWindowCenteredPosition(Vector2)

Returns a Rect to center a window on the main Unity Editor window.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public static Rect GetMainWindowCenteredPosition(Vector2 size)

Parameters

Size of the window to be centered.

Returns

Type

Description

RectCentered position.