AutoPrefs.

GetControlRect() Method

Summary

Uses UnityEditor.EditorGUILayout.GetControlRect(System.Boolean,System.Single,UnityEngine.GUIStyle,UnityEngine.GUILayoutOption[]) to allocate a UnityEngine.GUILayout UnityEngine.Rect for a control.

Syntax

public static Rect GetControlRect()

Return Value

Type Description
Rect