Method | Description | |
---|---|---|
AddNode ( |
Adds new node as a child.
|
|
DebugRun ( |
Runs debug this node.
|
|
GetNode ( int i ) : |
Gets child node at index.
|
|
RemoveNode ( |
Removes child node.
|
|
Run ( |
Runs this node.
|
public AddNode ( |
||
node | Node to be added as 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. |
return |
public RemoveNode ( |
||
node | Child node to remove. | |
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 |