Arbor 3: FSM & BT Graph Editor 3.4.0

- Main Page
- Packages
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Properties | List of all members
NodeBehaviourList< T > Class Template Reference

NodeBehaviour list More...

## Public Member Functions
void | Add (T behaviour)
| Adds the Behaviour. More...
void | Insert (int index, T behaviour)
| Insert the Behaviour. More...
Object | GetObject (int index)
| Get Object of NodeBehaviour from index. More...
void | SetObject (int index, Object obj)
| Set Object of NodeBehaviour to index. More...
int | IndexOf (Object obj)
| Return index of NodeBehaviour. More...
void | Swap (int fromIndex, int toIndex)
| Swap the order of NodeBehaviour. More...
void | Move (int fromIndex, int toIndex)
| Move the order of NodeBehaviour. More...
void | Destroy (Node node, Object behaviour)
| Destroy NodeBehaviour More...
void | DestroyAll (Node node)
| Destroy All NodeBehaviour. More...
void | MoveBehaviour (Node node)
| Move NodeBehaviour to node. More...
bool | Contains (T behaviour)
| Returns whether it contains behaviour. More...
bool | ContainsObject (Object obj)
| Returns whether it contains obj. More...

## Properties
int | count`[get]`
| Count More...
T | this[int i]`[get, set]`
| Access to specified index More...

## Detailed Description

NodeBehaviour list

Template Parameters

  T | NodeBehaviour type

Type Constraints

  T | : | NodeBehaviour |

## Member Function Documentation

void Add | ( | T | behaviour | ) |

Adds the Behaviour.

Parameters

  behaviour | Add NodeBehaviour

bool Contains | ( | T | behaviour | ) |

Returns whether it contains behaviour.

Parameters

  behaviour | Check target

Returns
  Returns true if it contains.

bool ContainsObject | ( | Object | obj | ) |

Returns whether it contains obj.

Parameters

  obj | Check target

Returns
  Returns true if it contains.

void Destroy | ( | Node | node,
|  | Object | behaviour
| ) |  |

Destroy NodeBehaviour

Parameters

  node | Node that has NodeBehaviour
  behaviour | Object of NodeBehaviour

void DestroyAll | ( | Node | node | ) |

Destroy All NodeBehaviour.

Parameters

  node | Node that has NodeBehaviour

Object GetObject | ( | int | index | ) |

Get Object of NodeBehaviour from index.

Parameters

  index | Index

Returns
  Object

int IndexOf | ( | Object | obj | ) |

Return index of NodeBehaviour.

Parameters

  obj | The NodeBehaviour to locate in the State.

Returns
  Returns an index if found, -1 otherwise.

void Insert | ( | int | index,
|  | T | behaviour
| ) |  |

Insert the Behaviour.

Parameters

  index | Insertion destination index
  behaviour | Insert NodeBehaviour

void Move | ( | int | fromIndex,
|  | int | toIndex
| ) |  |

Move the order of NodeBehaviour.

Parameters

  fromIndex | The moving want index.
  toIndex | The destination index.

void MoveBehaviour | ( | Node | node | ) |

Move NodeBehaviour to node.

Valid only in Editor.

Parameters

  node | Moving destination node

void SetObject | ( | int | index,
|  | Object | obj
| ) |  |

Set Object of NodeBehaviour to index.

Parameters

  index | Index
  obj | Object

void Swap | ( | int | fromIndex,
|  | int | toIndex
| ) |  |

Swap the order of NodeBehaviour.

Parameters

  fromIndex | The swapping want index.
  toIndex | Exchange destination index.

## Property Documentation

int count
| get

Count

T this[int i]
| get set

Access to specified index

Parameters

  i | Index

Returns
  NodeBehaviour stored in the index