首页 > 其他 > 详细

设置Animation 的播放位置

时间:2015-06-28 18:42:56      阅读:121      评论:0      收藏:0      [点我收藏+]

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;

 

设置Animation 的播放位置

原文:http://www.cnblogs.com/gabo/p/4605868.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!