Class FlowGraphView
public class FlowGraphView : CeresGraphView, IVariableSource, IDisposable
- Inheritance
-
FlowGraphView
- Implements
- Inherited Members
Constructors
FlowGraphView(FlowGraphEditorWindow)
public FlowGraphView(FlowGraphEditorWindow editorWindow)
Parameters
editorWindowFlowGraphEditorWindow
Properties
DebugState
Editor debug state
public FlowGraphDebugState DebugState { get; }
Property Value
FlowGraphEditorWindow
Bound editor window
public FlowGraphEditorWindow FlowGraphEditorWindow { get; }
Property Value
GraphName
Bound graph verified name
public string GraphName { get; }
Property Value
Methods
CanPasteSerializedGraph(string)
protected override bool CanPasteSerializedGraph(string serializedData)
Parameters
serializedDatastring
Returns
CanSimulate()
public bool CanSimulate()
Returns
DeserializeGraph(FlowGraphEditorObject)
public void DeserializeGraph(FlowGraphEditorObject editorObject)
Parameters
editorObjectFlowGraphEditorObject
DeserializeSubGraph(FlowGraphEditorObject, string)
public void DeserializeSubGraph(FlowGraphEditorObject editorObject, string slotName)
Parameters
editorObjectFlowGraphEditorObjectslotNamestring
Dispose()
public void Dispose()
IsPaused()
public bool IsPaused()
Returns
NextBreakpoint()
public void NextBreakpoint()
NextFrame()
public void NextFrame()
OnCopySerializedGraph(IEnumerable<GraphElement>)
protected override string OnCopySerializedGraph(IEnumerable<GraphElement> elements)
Parameters
elementsIEnumerable<GraphElement>
Returns
OnDestroy()
Called after detached from editor window
protected override void OnDestroy()
OnDragDropElementPerform(List<ISelectable>, GraphElement, Vector2)
protected override void OnDragDropElementPerform(List<ISelectable> selectables, GraphElement graphElement, Vector2 mousePosition)
Parameters
selectablesList<ISelectable>graphElementGraphElementmousePositionVector2
OnPasteSerializedGraph(string, string)
protected override void OnPasteSerializedGraph(string operationName, string serializedData)
Parameters
SerializeGraph(FlowGraphEditorObject)
Serialize flow graph to editor data container
public bool SerializeGraph(FlowGraphEditorObject editorObject)
Parameters
editorObjectFlowGraphEditorObjectSerialization target
Returns
- bool
Whether serialization is succeeded
SetDebugEnabled(bool)
public void SetDebugEnabled(bool enabled)
Parameters
enabledbool
SimulateExecution()
Execute simulate event in editor if existed
public UniTask SimulateExecution()
Returns
- UniTask