Version 2.1.0.0

EmittedMonoBehaviour<T> class

Namespace: Sirenix.OdinInspector.Editor
Assembly: Sirenix.OdinInspector.Editor
public abstract class EmittedMonoBehaviour<T> : EmittedMonoBehaviour
Strongly typed base class for emitted MonoBehaviour-derived types that have been created by the UnityPropertyEmitter.
Inheritance

Type Parameters

T

Constructors

EmittedMonoBehaviour()
protected EmittedMonoBehaviour()

Methods

GetValue()
Gets the value contained in this scriptable object.
public abstract T GetValue()
Returns
T

GetWeakValue()
Gets the value contained in this scriptable object.
public override object GetWeakValue()
Returns
System.Object

SetValue(T)
Sets the value contained in this scriptable object.
public abstract void SetValue(T value)
Parameters
T value

SetWeakValue(Object)
Sets the value contained in this scriptable object.
public override void SetWeakValue(object value)
Parameters
System.Object value

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.