Skip to main content

unregisterAll 取消注册所有事件指令

unregisterAll

类型: MethodDeclaration

所属类: Actor

定义位置: actor.ts

描述

取消注册所有事件指令

返回值

类型: void

源代码

位置: 第 1230 行

public unregisterAll(): void {
const map = this.registeredEvents;
for (const key of Object.keys(map)) {
this.stopEvents(map[key]!);
delete map[key];
}
}

文档生成时间:2026/2/1 16:51:38