Arbor 3: FSM & BT Graph Editor  3.7.8
INodeGraphContainer Interface Reference

Interface to use if NodeBehaviour is a NodeGraph container More...

Public Member Functions

int GetNodeGraphCount ()
 Get count of NodeGraph. More...
 
GetNodeGraph< T > (int index)
 Get NodeGraph. More...
 
void SetNodeGraph (int index, NodeGraph graph)
 Set NodeGraph. More...
 
void OnFinishNodeGraph (NodeGraph graph, bool success)
 This function is called when NodeGraph finishes. More...
 

Detailed Description

Interface to use if NodeBehaviour is a NodeGraph container

Member Function Documentation

◆ GetNodeGraph< T >()

T GetNodeGraph< T > ( int  index)

Get NodeGraph.

Template Parameters
TNodeGraph type.
Parameters
indexIndex
Returns
NodeGraph
Type Constraints
T :Object 

◆ GetNodeGraphCount()

int GetNodeGraphCount ( )

Get count of NodeGraph.

Returns
Count of NodeGraph

◆ OnFinishNodeGraph()

void OnFinishNodeGraph ( NodeGraph  graph,
bool  success 
)

This function is called when NodeGraph finishes.

Parameters
graphNodeGraph
successWhether it is successful or not

◆ SetNodeGraph()

void SetNodeGraph ( int  index,
NodeGraph  graph 
)

Set NodeGraph.

Parameters
indexIndex
graphNodeGraph

Since the destruction of the NodeGraph originally from the specified index is not guaranteed, refer to each NodeBehaviour for addition and deletion.