start() {
//获取动画组件
const anm1 = this.node.getComponent(Animation)
//获取动画组件上的动画剪辑
const [ idc, runc ] = anm1.clips
//获取idc的动画状态
const idst = anm1.getState(idc.name)
//以5倍速播放idc动画
idst.speed = 5.0
//播放
idst.play()
//不断地从开头播放至结尾
idst.wrapMode = AnimationClip.WrapMode.Loop
//设置循环次数 2
//idst.repeatCount = 2
//无限循环模式
idst.repeatCount = Infinity
}