码迷,mamicode.com
首页 > 其他好文 > 详细

设置Animation 的播放位置

时间:2015-06-28 18:46:04      阅读:111      评论: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
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!