FsmState
此内容尚不支持你的语言。
Defined in: ai/fsm/types.ts:63
Properties
Section titled “Properties”name:
string
Defined in: ai/fsm/types.ts:64
onEnter?
Section titled “onEnter?”
optionalonEnter?:FsmActionRef
Defined in: ai/fsm/types.ts:66
Named action run once when the state becomes active.
onExit?
Section titled “onExit?”
optionalonExit?:FsmActionRef
Defined in: ai/fsm/types.ts:70
Named action run once when the state is left.
onUpdate?
Section titled “onUpdate?”
optionalonUpdate?:FsmActionRef
Defined in: ai/fsm/types.ts:68
Named action run every tick the state is active (and no transition fired).
transitions?
Section titled “transitions?”
optionaltransitions?:FsmTransition[]
Defined in: ai/fsm/types.ts:72
Outgoing edges, evaluated in order; the first enabled one is taken.
optionalx?:number
Defined in: ai/fsm/types.ts:74
Editor-only canvas position; ignored by the interpreter.
optionaly?:number
Defined in: ai/fsm/types.ts:75