Parameter node that provides possibility for comparing AiBlackboard's string values.
More...
Inherits lab.AParameterNode< string >.
|
enum | StringCondition { Equal,
NotEqual
} |
| Enumeration for string parameters of possible conditions to choose to compare two values. More...
|
|
|
StringCondition | Condition [get, set] |
| Sets/Gets condition to compare two string 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 string values.
StringParameterNode can check if two values are equal or not equal to each other.
Enumeration for string parameters of possible conditions to choose to compare two values.
override bool lab.StringParameterNode.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 string values.
The documentation for this class was generated from the following file:
- lab/Assets/lab/Scripts/Nodes/Parameter Nodes/StringParameterNode.cs