Method | Description | |
---|---|---|
AddNode ( |
Adds new node to this AiTree.
|
|
ConnectNodes ( |
Creates connection between one node to another. The connection is one one-way and tries to prevent circular to prevent infinity loops.
|
|
DebugRun ( |
Runs debug this tree behaviour.
|
|
RemoveNode ( |
Removes node from this AiTree. Also removes all connections between other nodes, so it doesn't have to be done manually.
|
|
Run ( |
Runs this tree behaviour.
|
Method | Description | |
---|---|---|
IsConnected ( |
public AddNode ( |
||
node | A node to add to this AiTree. | |
return | bool |
public ConnectNodes ( |
||
from | A node that is higher in hierarchy. | |
to | A node that is lower in hierarchy. | |
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. |
return | bool |
public RemoveNode ( |
||
node | A node to remove from this AiTree. | |
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 |