BaseInspectableAttributeDrawer.

PrefixLabel(GUIContent) Method

Summary

Draws a label like UnityEditor.EditorGUILayout.PrefixLabel(System.String) but doesn't get greyed out if the GUI is disabled for the following control.

Syntax

public static Rect PrefixLabel(GUIContent label)

Parameters

Name Type Description
label GUIContent

Return Value

Type Description
Rect