Table of Contents

Class LabelFieldPropertyDrawer

Namespace
Gamelogic.Extensions.Editor
Assembly
Gamelogic.Extensions.Editor.dll

Property drawer for the label field attribute.

[Version(2, 5, 0)]
[CustomPropertyDrawer(typeof(LabelFieldAttribute))]
public class LabelFieldPropertyDrawer : PropertyDrawer
Inheritance
GUIDrawer
LabelFieldPropertyDrawer
Inherited Members
PropertyDrawer.CanCacheInspectorGUI(SerializedProperty)
PropertyDrawer.attribute
PropertyDrawer.fieldInfo
Extension Methods

Methods

GetPropertyHeight(SerializedProperty, GUIContent)

Override this method to specify how tall the GUI for this field is in pixels.

OnGUI(Rect, SerializedProperty, GUIContent)

Override this method to make your own IMGUI based GUI for the property.

See Also