在Animator的__proto.updatePlayer方法中,
if (elapsedPlaybackTime >=clipDuration){
do {
elapsedPlaybackTime-=clipDuration;
playState._playEventIndex=0;
animatorState._resetFrameIndices();
}while (elapsedPlaybackTime >=clipDuration)
这里导致的问题.
应该修改为:
if (elapsedPlaybackTime >=clipDuration){
do {
elapsedPlaybackTime-=clipDuration;
}while (elapsedPlaybackTime >=clipDuration)
playState._elapsedTime = elapsedPlaybackTime;
playState._playEventIndex=0;
animatorState._resetFrameIndices();
}