NullableReferenceDrawer<T>

Draws all nullable reference types, with an object field.

namespace Sirenix.OdinInspector.Editor.Drawers
{
[Sirenix.OdinInspector.Editor.AllowGUIEnabledForReadonlyAttribute]
[Sirenix.OdinInspector.Editor.DrawerPriorityAttribute(0, 0, 2000)]
public sealed class NullableReferenceDrawer<T> : OdinValueDrawer<T>, Sirenix.OdinInspector.Editor.IDefinesGenericMenuItems
}

Requirements

Namespace: Sirenix.OdinInspector.Editor.Drawers
Assembly: Sirenix.OdinInspector
Version: 2.0.0.0

Methods

Return Type Definition Description
bool CanDrawValueProperty(InspectorProperty) Returns a value that indicates if this drawer can be used for the given property.
void DrawPropertyLayout(GUIContent) Draws the property.