Home > @esengine/ecs-framework-monorepo > ECSFluentAPI > off
ECSFluentAPI.off() method
移除事件监听器
Signature:
typescript
off(eventType: string, listenerId: string): void;
Parameters
Parameter | Type | Description |
---|---|---|
eventType | string | 事件类型 |
listenerId | string | 监听器ID |
Returns:
void