设置Animation 的播放位置


AnimationState.normalizedTime

官方文档的描述

Description

The normalized time of the animation.

A value of 1 is the end of the animation. A value of 0.5 is the middle of the animation.

1 // Fast forward to the middle of the animation
2 animation["Walk"].normalizedTime = 0.5;

 

转载于:https://www.cnblogs.com/gabo/p/4605868.html

你可能感兴趣的:(设置Animation 的播放位置)