FsmTransition
此内容尚不支持你的语言。
Defined in: ai/fsm/types.ts:30
A directed edge to to. Enabled when ALL of its specified mechanisms hold:
the trigger event is pending, the named condition returns true, and every
guard compares true. A transition with none of them is unconditional.
Properties
Section titled “Properties”condition?
Section titled “condition?”
optionalcondition?:string
Defined in: ai/fsm/types.ts:35
Named condition resolved from the registry.
guard?
Section titled “guard?”
optionalguard?:BlackboardGuard|BlackboardGuard[]
Defined in: ai/fsm/types.ts:37
Blackboard comparison(s), AND-combined.
to:
string
Defined in: ai/fsm/types.ts:31
trigger?
Section titled “trigger?”
optionaltrigger?:string
Defined in: ai/fsm/types.ts:33
Event name (Unity-style trigger) that must be fired; consumed when taken.