Version 3.2.1.0

UnitAttributeDrawer<TPrimitive> class

Namespace: Sirenix.OdinInspector.Editor.Drawers
Assembly: Sirenix.OdinInspector.Editor
public abstract class UnitAttributeDrawer<TPrimitive> : OdinAttributeDrawer<UnitAttribute, TPrimitive>, IDefinesGenericMenuItems
Inheritance

Type Parameters

TPrimitive

Constructors

UnitAttributeDrawer()
protected UnitAttributeDrawer()

Methods

DrawPropertyLayout(GUIContent)
protected override void DrawPropertyLayout(GUIContent label)
Parameters
UnityEngine.GUIContent label

Initialize()
protected override void Initialize()
PopulateGenericMenu(InspectorProperty, GenericMenu)
public void PopulateGenericMenu(InspectorProperty property, GenericMenu genericMenu)
Parameters
InspectorProperty property

UnityEditor.GenericMenu genericMenu

Extension Methods