EvaluateComponent
A node component that performs conditional judgment.
It is used to determine state transitions and behavior tree execution.
Behavior when set to node
Event
If the evaluation result is true, the destination node is executed.
Additional properties
Property name | Type | Description |
---|---|---|
Methods | CallMethods |
Specifies the methods to run.
|
Action
The process is executed when the node becomes active.
Additional properties
Property name | Type | Description |
---|---|---|
Result | OutputDataPort<bool> |
Outputs the judgment result in bool type. |
Compute
Processing is executed when data output is required.
Additional properties
Property name | Type | Description |
---|---|---|
Result | OutputDataPort<bool> |
Outputs the judgment result in bool type. |
Task
Processing is performed every frame while the node is active.
Additional properties
Property name | Type | Description |
---|---|---|
True Status | InputField<TaskStatus> |
Set the execution status when the judgment result is true |
False Status | InputField<TaskStatus> |
Set the execution status when the judgment result is false |
About TaskStatus
Contents | Description |
---|---|
Running | Continue running |
Success | Return Success |
Failure | Return failure |
BehaviorTree
Main
Processing is performed every frame while the node is active.
Additional properties
Property name | Type | Description |
---|---|---|
True Status | InputField<TaskStatus> |
Set the execution status when the judgment result is true |
False Status | InputField<TaskStatus> |
Set the execution status when the judgment result is false |
About TaskStatus
Contents | Description |
---|---|
Running | Continue running |
Success | Return Success |
Failure | Return failure |
Decorators
Decorator will be judged.
Additional properties
Property name | Type | Description |
---|---|---|
Mode | DecoratorMode |
Set the judgment content of Decorator.
|
There are additional properties that are added depending on the Mode selection.
For details, see EvaluateDecorator and LoopCheckDecorator.
Services
Processing is performed every frame while the node is active.
Additional properties
Property name | Type | Description |
---|---|---|
Methods | CallMethods |
Specifies the methods to run.
|
Result | OutputDataPort<bool> |
Outputs the judgment result in bool type. |
State
Processing is performed every frame while the node is active.
Additional properties
Property name | Type | Description |
---|---|---|
Signal | OutputSignalPort |
Outputs the judgment result as a signal. |
Signal Evaluation
It becomes active when the judgment result of the input signal is true, and the judgment result is reflected in the output signal.
Service
The action is executed when the node becomes active.
Additional properties
Property name | Type | Description |
---|---|---|
Methods | CallMethods |
Specifies the methods to run.
|
Result | OutputDataPort<bool> |
Outputs the judgment result in bool type. |
Script generation
Due to the script generation function, EvaluateComponent is used for the following member access scripts.
- Get the value of bool type field
- Get the value of bool type property
- Calling a method whose return value is bool
For details, please refer to Script generation.