Class OutputNode
The output node is used to take a value from the script graph and output it as part of the return value when done processing the script graph.
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: InsaneScatterbrain.ScriptGraph
Syntax
[Serializable]
public class OutputNode : ConsumerNode, IConsumerNode, IScriptNode, INode, ISerializationCallbackReceiver
Constructors
OutputNode()
Declaration
protected OutputNode()
Properties
OutputParameterId
The name of the output variable.
Declaration
public string OutputParameterId { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
Create(string, Type)
Factory method to create a new output node with the given name of the given type, for the given graph.
Declaration
public static OutputNode Create(string outputParameterId, Type type)
Parameters
Type | Name | Description |
---|---|---|
string | outputParameterId | The name. |
System.Type | type | The type. |
Returns
Type | Description |
---|---|
OutputNode | The new output node. |
Create<T>(string)
Declaration
public static OutputNode Create<T>(string outputParameterId)
Parameters
Type | Name | Description |
---|---|---|
string | outputParameterId |
Returns
Type | Description |
---|---|
OutputNode |
Type Parameters
Name | Description |
---|---|
T |
OnAfterDeserialize()
Declaration
public void OnAfterDeserialize()
OnBeforeSerialize()
Declaration
public void OnBeforeSerialize()
OnLoadInputPorts()
Declaration
public override void OnLoadInputPorts()
Overrides
Implements
UnityEngine.ISerializationCallbackReceiver