animationstate.normalizedtime 规范化时间

2014-12-31 05:46| 发布者: 杨炎| 查看: 6071| 评论: 0|原作者: 蛮牛|来自: yzc88亚洲城脚本manual

摘要: animationstate.normalizedtime 规范化时间varnormalizedtime: floatdescription描述the normalized time of the animation.动画当前规范化时间a value of 1 is the end of the animation. a value of 0.5 is the mi ...

animationstate.normalizedtime 规范化时间

varnormalizedtime: float

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是动画结尾. 0.5是动画中间.

c#

javascript

using unityengine;

using system.collections;

public class example :monobehaviour{

public void awake() {

animation["walk"].normalizedtime = 0.5f;

}

}

// fast forward to the middle of the animation

// 快进到动画中部

animation["walk"].normalizedtime = 0.5;

相关阅读

文章点评
相关文章