Namespace: | Sirenix.OdinInspector.Editor.Drawers |
Assembly: | Sirenix.OdinInspector.Editor |
[AllowGUIEnabledForReadonly]
[DrawerPriority(0, 0, 2000)]
public sealed class NullableReferenceDrawer<T> : OdinValueDrawer<T>, IDefinesGenericMenuItems
public NullableReferenceDrawer()
protected override bool CanDrawValueProperty(InspectorProperty property)
InspectorProperty | property |
System.Boolean |
protected override void DrawPropertyLayout(GUIContent label)
UnityEngine.GUIContent | label |
protected override void Initialize()
public void PopulateGenericMenu(InspectorProperty property, GenericMenu genericMenu)
InspectorProperty | property | |
UnityEditor.GenericMenu | genericMenu |