Arbor 3: FSM & BT Graph Editor 3.7.7

Public Member Functions | List of all members
INodeGraphContainer Interface Reference

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

## Public Member Functions
int | GetNodeGraphCount ()
| Get count of NodeGraph. More...
T | 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

  T | NodeGraph type.

Parameters

  index | Index

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

  graph | NodeGraph
  success | Whether it is successful or not

## ◆ SetNodeGraph()

void SetNodeGraph | ( | int | index,
|  | NodeGraph | graph
| ) |  |

Set NodeGraph.

Parameters

  index | Index
  graph | NodeGraph

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