Class TypedVariableModel<T>
Model to represent a typed variable.
Implements
Inherited Members
Namespace: Unity.Behavior.GraphFramework
Assembly: Unity.Behavior.GraphFramework.dll
Syntax
[Serializable]
public class TypedVariableModel<T> : VariableModel, IEquatable<VariableModel>
Type Parameters
Name | Description |
---|---|
T | The type of the variable. |
Fields
m_Value
The variables value, of type T.
Declaration
[SerializeField]
public T m_Value
Field Value
Type | Description |
---|---|
T |
Properties
ObjectValue
Sets or gets the variable's value.
Declaration
public override object ObjectValue { get; set; }
Property Value
Type | Description |
---|---|
object |
Overrides
Type
Gets the type of the variable.
Declaration
public override Type Type { get; }
Property Value
Type | Description |
---|---|
Type |