Version 2.1.0.0

OdinAttributeExampleItem class

Namespace: Sirenix.OdinInspector.Editor.Examples
Assembly: Sirenix.OdinInspector.Editor
public class OdinAttributeExampleItem
Inheritance
  • System.Object
  • OdinAttributeExampleItem

Constructors

OdinAttributeExampleItem(Type, OdinRegisterAttributeAttribute)
public OdinAttributeExampleItem(Type attributeType, OdinRegisterAttributeAttribute registration)
Parameters
System.Type attributeType

OdinRegisterAttributeAttribute registration

Fields

Name
public readonly string Name

Properties

DrawCodeExample
public bool DrawCodeExample { get; set; }

Methods

Draw()
[OnInspectorGUI]
public void Draw()

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.