Molca.SequenceFile:
Packages/com.molca.core/Runtime/Sequence/Step/ConditionalStep.cs
Role
ConditionalStep evaluates a boolean condition at runtime and activates either the trueStep or falseStep child. Call SetCondition(bool) to evaluate; the step completes immediately after activating the correct branch.
Inspector
conditionDescription— human-readable description of the condition.trueStep— child step activated when condition istrue.falseStep— child step activated when condition isfalse.
Code
Related
- Step (base class)
- BranchingStep — multi-branch alternative
- Core step types