For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /server-editor/classes/ModeChangeAfterEventSignal.md.

Class: ModeChangeAfterEventSignal experimental

event

Beta

Manages callbacks that are connected to when a player editor mode changes.

Methods

subscribe()

subscribe(callback): (arg0) => void

World Mutation Early Execution Beta

Parameters

callback

(arg0) => void

Returns

(arg0) => void

Remarks

Subscribes the specified callback to an editor mode change after event.


unsubscribe()

unsubscribe(callback): void

World Mutation Early Execution Beta

Parameters

callback

(arg0) => void

Returns

void

Remarks

Removes the specified callback from an editor mode change after event.

同领域相关