跳转到内容

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.

optional condition?: string

Defined in: ai/fsm/types.ts:35

Named condition resolved from the registry.


optional guard?: BlackboardGuard | BlackboardGuard[]

Defined in: ai/fsm/types.ts:37

Blackboard comparison(s), AND-combined.


to: string

Defined in: ai/fsm/types.ts:31


optional trigger?: string

Defined in: ai/fsm/types.ts:33

Event name (Unity-style trigger) that must be fired; consumed when taken.