destroy 销毁场景粒子发射器
destroy
类型: MethodDeclaration
所属类: SceneParticleEmitter
定义位置: scene.ts
描述
销毁场景粒子发射器
返回值
类型: void
源代码
位置: 第 5444 行
public destroy(): void {
if (!this.destroyed) {
this.emit('destroy')
if (this.parent instanceof SceneParticleEmitterManager) {
this.parent.remove(this)
}
GlobalEntityManager.remove(this)
super.destroy()
}
}
文档生成时间:2025/7/7 12:07:06