MCPcopy Create free account
hub / github.com/esengine/esengine / onChange

Method onChange

packages/fsm/src/IStateMachine.ts:347–347  ·  view source on GitHub ↗

* @zh 监听任意状态变更 * @en Listen to any state change * * @param callback - @zh 回调函数 @en Callback function

(callback: StateChangeListener<TState>)

Source from the content-addressed store, hash-verified

345 * @param callback - @zh 回调函数 @en Callback function
346 */
347 onChange(callback: StateChangeListener<TState>): () => void;
348
349 // =========================================================================
350 // 调试 | Debug

Callers 15

createPluginLocaleFunction · 0.65
SceneHierarchyFunction · 0.65
handlePositionCommitFunction · 0.65
handleRotationCommitFunction · 0.65
handleScaleCommitFunction · 0.65
handlePositionResetFunction · 0.65
handleRotationResetFunction · 0.65
handleScaleResetFunction · 0.65
useLocaleFunction · 0.65
BehaviorTreeEditorFunction · 0.65

Implementers 1

StateMachinepackages/fsm/src/StateMachine.ts

Calls

no outgoing calls

Tested by

no test coverage detected