Skip to content

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

基于 MIT 许可证发布