EvaluateComponent

A node component that performs conditional judgment.
It is used to determine state transitions and behavior tree execution.

Behavior when set to node

Action

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

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

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

BehaviorTree

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.
Evaluate
Node execution judgment
LookCheck
Loop judgment

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
Result OutputDataPort<bool> Outputs the judgment result in bool type.

State

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

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.

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.