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

Method reset

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

* @zh 重置状态机到初始状态 * @en Reset state machine to initial state * * @param initialState - @zh 初始状态 @en Initial state

(initialState?: TState)

Source from the content-addressed store, hash-verified

315 * @param initialState - @zh 初始状态 @en Initial state
316 */
317 reset(initialState?: TState): void;
318
319 // =========================================================================
320 // 事件监听 | Event Listening

Callers 15

onDestroyMethod · 0.65
resetMethod · 0.65
handlePlayFunction · 0.65
handleStopFunction · 0.65
resetMethod · 0.65
releaseMethod · 0.65
clearMethod · 0.65
compactMethod · 0.65
prewarmMethod · 0.65
endMethod · 0.65
removeEntityProcessorMethod · 0.65
removeGlobalSystemMethod · 0.65

Implementers 1

StateMachinepackages/fsm/src/StateMachine.ts

Calls

no outgoing calls

Tested by 1

resetFnFunction · 0.52