Method | Description | |
---|---|---|
AddNode ( |
Adds new node as child. There can be only one child for RepeaterNode, so child will be overriden.
|
|
DebugRun ( |
Runs debug this node.
|
|
GetNode ( int i ) : |
Gets child node.
|
|
RemoveNode ( |
Removes child node.
|
|
Run ( |
Runs this node.
|
public AddNode ( |
||
node | Node to be added as a child. | |
return | bool |
public DebugRun ( |
||
parameters | AiBlackboard with global parameters. | |
trees | IList |
Readonly list with all ai trees. |
level | int | Level of how deep we are in this AiTree. |
nodeIndex | int | Index of current node in parent's node. If this is root, nodeIndex is 0. |
return | bool |
public GetNode ( int i ) : |
||
i | int | Index of child node to get. RepeaterNode has one child node, so only 0 will work. |
return |
public RemoveNode ( |
||
node | Child node to be removed. | |
return | bool |
public Run ( |
||
parameters | AiBlackboard with global parameters. | |
trees | IList |
Readonly list with all ai trees. |
tasks | List |
List of task scripts to bind with task nodes. |
return | bool |