AutoPrefs.

GetControlRect() Method

Summary

Uses EditorGUILayout.GetControlRect(bool, float, GUIStyle, GUILayoutOption[]) to allocate a GUILayout Rect for a control.

Syntax

public static Rect GetControlRect()

Return Value

Type Description
Rect