API 参考actor 模块destroy 销毁所有动画组件本页总览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