Version 2.1.0.0

DelegateDrawer<T> class

Namespace: Sirenix.OdinInspector.Editor.Drawers
Assembly: Sirenix.OdinInspector.Editor
[DrawerPriority(0.51, 0, 0)]
public class DelegateDrawer<T> : OdinValueDrawer<T> where T : class
Delegate property drawer. This drawer is rather simplistic for now, and will receive significant upgrades in the future.
Inheritance

Type Parameters

T

Constructors

DelegateDrawer()
public DelegateDrawer()

Methods

CanDrawTypeFilter(Type)
public override bool CanDrawTypeFilter(Type type)
Parameters
System.Type type

Returns
System.Boolean

DrawPropertyLayout(GUIContent)
Draws the property.
protected override void DrawPropertyLayout(GUIContent label)
Parameters
UnityEngine.GUIContent label

Extension Methods

This website is brand new and built with the Odin 2.1 beta in mind. This means you might discover some features such as attribute expressions that are only available in the beta.

You can download the 2.1 beta from here and read the patch-notes here.