Table of Contents

Class AbstractListBuilderPropertyDrawer<TListItem>

public abstract class AbstractListBuilderPropertyDrawer<TListItem> : PropertyDrawer<AbstractListBuilderPropertyDrawer<TListItem>.Data> where TListItem : IListBuilderItem

Type Parameters

TListItem
Inheritance
AbstractListBuilderPropertyDrawer<TListItem>
Derived
Inherited Members
Extension Methods

Methods

AddItemsToContextMenu(GenericMenu, SerializedProperty)

protected virtual void AddItemsToContextMenu(GenericMenu context, SerializedProperty property)

Parameters

context GenericMenu
property SerializedProperty

Draw(ref Rect, SerializedProperty)

protected virtual void Draw(ref Rect position, SerializedProperty property)

Parameters

position Rect
property SerializedProperty

GetLabel(SerializedProperty, GUIContent)

protected virtual GUIContent GetLabel(SerializedProperty property, GUIContent label)

Parameters

property SerializedProperty
label GUIContent

Returns

GUIContent

GetPropertyHeight(SerializedProperty, GUIContent)

public override float GetPropertyHeight(SerializedProperty property, GUIContent label)

Parameters

property SerializedProperty
label GUIContent

Returns

float

OnAdd(Rect, ReorderableList)

protected abstract void OnAdd(Rect buttonRect, ReorderableList list)

Parameters

buttonRect Rect
list ReorderableList

OnGUI(Rect, SerializedProperty, GUIContent)

public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)

Parameters

position Rect
property SerializedProperty
label GUIContent