Table of Contents

Class FlowGraphObject

Namespace
Ceres.Flow
Assembly
Ceres.Flow.dll

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

Object

Remarks

Prefer use GameObject as container key since component is not persistent

Methods

CreateRuntimeFlowGraphInstance()

protected override sealed FlowGraph CreateRuntimeFlowGraphInstance()

Returns

FlowGraph

GetFlowGraph()

Get a FlowGraph instance from this container

public virtual FlowGraph GetFlowGraph()

Returns

FlowGraph

Remarks

Instance is isolated from persistent data

GetGraphData()

Get persistent FlowGraphData

protected FlowGraphData GetGraphData()

Returns

FlowGraphData

SetGraphData(CeresGraphData)

Set graph persistent data

public virtual void SetGraphData(CeresGraphData graph)

Parameters

graph CeresGraphData