Version 3.3.0.1

AttributeExampleInfo class

Namespace: Sirenix.OdinInspector.Editor.Examples
Assembly: Sirenix.OdinInspector.Editor
public class AttributeExampleInfo
Descripes an attribute example.
Inheritance
  • System.Object
  • AttributeExampleInfo

Constructors

AttributeExampleInfo()
public AttributeExampleInfo()

Fields

Code
Raw code of the example.
public string Code
CodeAsComponent
The example declared as a Unity component.
public string CodeAsComponent
Description
The description of the example.
public string Description
ExampleType
The type of the example object.
public Type ExampleType
Name
The name of the example.
public string Name
Order
Sorting value of the example. Examples with lower order values should come before examples with higher order values.
public float Order

Properties

PreviewObject
Preview object of the example.
public object PreviewObject { get; }