Метод | Описание | |
---|---|---|
AddNode ( |
Adds new node as child. There can be only one child for InverterNode, 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. | |
Результат | 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. |
Результат | bool |
public GetNode ( int i ) : |
||
i | int | Index of child node to get. InverterNode has one child node, so only 0 will work. |
Результат |
public RemoveNode ( |
||
node | Child node to be removed. | |
Результат | 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. |
Результат | bool |