Version 2.1.0.0

EmittedScriptableObject<T> class

Namespace: Sirenix.OdinInspector.Editor
Assembly: Sirenix.OdinInspector.Editor
public abstract class EmittedScriptableObject<T> : EmittedScriptableObject
Strongly typed base class for emitted scriptable object types that have been created by the UnityPropertyEmitter.
Inheritance

Type Parameters

T

Constructors

EmittedScriptableObject()
protected EmittedScriptableObject()

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