Parameter node that provides possibility for comparing AiBlackboard's int values.
More...
Inherits lab.AParameterNode< int >.
|
enum | IntCondition { Greater,
Less,
Equal,
NotEqual
} |
| Enumeration for int parameters of possible conditions to choose to compare two values. More...
|
|
|
IntCondition | Condition [get, set] |
| Sets/Gets condition to compare two int values. More...
|
|
string | Key [get, set] |
| Gets/Sets key of parameter in AiBlackboard. More...
|
|
T | Value [get, set] |
| Gets/Sets static value to compare to global information in AiBlackboard. More...
|
|
bool | DynamicValue [get, set] |
| Gets/Sets a flag to compare to static or dynamic (another blackboard's value) parameter. More...
|
|
string | DynamicValueKey [get, set] |
| Gets/Sets key of parameter to compare to. More...
|
|
Parameter node that provides possibility for comparing AiBlackboard's int values.
IntParameterNode can check if two values are equal or not equal to each other, first is greater or less to another.
Enumeration for int parameters of possible conditions to choose to compare two values.
override bool lab.IntParameterNode.DebugRun |
( |
AiBlackboard |
parameters, |
|
|
IList< AiTree > |
trees, |
|
|
int |
level, |
|
|
int |
nodeIndex |
|
) |
| |
Runs debug this node.
- Parameters
-
parameters | AiBlackboard with global parameters. |
trees | Readonly list with all ai trees. |
level | Level of how deep we are in this AiTree. |
nodeIndex | Index of current node in parent's node. If this is root, nodeIndex is 0. |
- Returns
- True if current conditions of comparition succeed. Otherwise false.
Runs this node.
- Parameters
-
parameters | AiBlackboard with global parameters. |
trees | Readonly list with all ai trees. |
tasks | List of task scripts to bind with. |
- Returns
- True if current conditions of comparition succeed. Otherwise false.
Sets/Gets condition to compare two int values.
The documentation for this class was generated from the following file:
- lab/Assets/lab/Scripts/Nodes/Parameter Nodes/IntParameterNode.cs