3.6.1 修改帧动画的循环模式且不重置

this.miandibg.getComponent(Animation).getState(“main_bg”).wrapMode = AnimationClip.WrapMode.Loop;
官方提供的方法会重置