API 参考scene 模块emit 调用场景粒子发射器事件和脚本On this pageemit 调用场景粒子发射器事件和脚本emit 类型: MethodDeclaration 所属类: SceneParticleEmitter 定义位置: scene.ts 描述 调用场景粒子发射器事件和脚本 参数 type: 场景粒子发射器事件类型 参数 参数名类型描述默认值typestring-- 返回值 类型: void 源代码 位置: 第 5430 行 public emit(type: string): void { this.callEvent(type) this.script.emit(type, this) } 文档生成时间:2025/7/7 12:07:06