跳到主要内容

destroy 销毁所有动画组件

destroy

类型: MethodDeclaration

所属类: AnimationManager

定义位置: actor.ts

描述

销毁所有动画组件

返回值

类型: void

源代码

位置: 第 2888 行

public destroy(): void {
for (const animation of this.list) {
// 完成动画结束回调并销毁动画
animation.finish()
animation.destroy()
}
}

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