Class FlowGraphObject
MonoBehaviour contains persistent FlowGraphData and runtime instance.
[GenerateFlow(GenerateRuntime = false, GenerateImplementation = true)]
public class FlowGraphObject : FlowGraphObjectBase, IFlowGraphRuntime, IFlowProgramRuntime, IFlowGraphContainer, ICeresGraphContainer
- Inheritance
-
FlowGraphObject
- Implements
- Derived
- Inherited Members
Constructors
FlowGraphObject()
public FlowGraphObject()
Properties
Object
Container bound Object
public Object Object { get; }
Property Value
Remarks
Prefer use GameObject as container key since component is not persistent
Methods
CreateRuntimeFlowGraphInstance()
protected override sealed FlowGraph CreateRuntimeFlowGraphInstance()
Returns
GetFlowGraph()
Get a FlowGraph instance from this container
public virtual FlowGraph GetFlowGraph()
Returns
Remarks
Instance is isolated from persistent data
GetGraphData()
Get persistent FlowGraphData
protected FlowGraphData GetGraphData()
Returns
SetGraphData(CeresGraphData)
Set graph persistent data
public virtual void SetGraphData(CeresGraphData graph)
Parameters
graphCeresGraphData