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

Method emitEntityDestroyed

packages/core/src/ECS/Core/EventBus.ts:275–277  ·  view source on GitHub ↗

* 发射实体销毁事件 * @param entityData 实体事件数据

(entityData: IEntityEventData)

Source from the content-addressed store, hash-verified

273 * @param entityData 实体事件数据
274 */
275 public emitEntityDestroyed(entityData: IEntityEventData): void {
276 this.emit(ECSEventType.ENTITY_DESTROYED, entityData);
277 }
278
279 /**
280 * 发射组件添加事件

Callers 1

EventBus.test.tsFile · 0.45

Calls 1

emitMethod · 0.95

Tested by

no test coverage detected