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