设置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;

 

posted @ 2015-06-28 17:55  gabo  阅读(713)  评论(0编辑  收藏  举报