This version of Unity is unsupported.

SearchUtils.GetMainWindowCenteredPosition

Declaration

public static Rect GetMainWindowCenteredPosition(Vector2 size);

Parameters

size Size of the window to be centered.

Returns

Rect Centered position.

Description

Returns a UnityEngine.Rect to center a window on the main Unity Editor window.