Version 2.1.0.0

TypeFilterAttributeDrawer class

Namespace: Sirenix.OdinInspector.Editor.Drawers
Assembly: Sirenix.OdinInspector.Editor
[DrawerPriority(0, 0, 2002)]
public sealed class TypeFilterAttributeDrawer : OdinAttributeDrawer<TypeFilterAttribute>
Draws properties marked with TypeFilterAttribute.
Inheritance

Constructors

TypeFilterAttributeDrawer()
public TypeFilterAttributeDrawer()

Methods

DrawPropertyLayout(GUIContent)
Draws the property with GUILayout support. This method is called by DrawPropertyImplementation if the GUICallType is set to GUILayout, which is the default.
protected override void DrawPropertyLayout(GUIContent label)
Parameters
UnityEngine.GUIContent label

Initialize()
Initializes this instance.
protected override void Initialize()
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.