Skip to main content

callEvent 调用场景粒子发射器事件

callEvent

类型: MethodDeclaration

所属类: SceneParticleEmitter

定义位置: scene.ts

描述

调用场景粒子发射器事件

参数 type: 场景粒子发射器事件类型

参数

参数名类型描述默认值
typestring--

返回值

类型: void

源代码

位置: 第 5416 行

public callEvent(type: string): void {
const commands = this.events[type]
if (commands) {
const event = new EventHandler(commands)
event.triggerObject = this
event.selfVarId = this.selfVarId
EventHandler.call(event, this.updaters)
}
}

文档生成时间:2025/7/7 12:07:06