animationstate.wrapmode 循环模式

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

摘要: animationstate.wrapmode 循环模式varwrapmode:wrapmodedescription描述wrapping mode of the animation.动画的循环模式by default wrapmode is initialized to the value set in the animation component's wrap mo ...

animationstate.wrapmode 循环模式

varwrapmode:wrapmode

description描述

wrapping mode of the animation.

动画的循环模式

by default wrapmode is initialized to the value set in the animation component's wrap mode.

默认的,wrapmode将初始化动画组件的循环模式

c#

javascript

using unityengine;

using system.collections;

public class example :monobehaviour{

public void awake() {

animation["walk"].wrapmode =wrapmode.loop;

}

}

// set the wrap mode of the walk animation to loop

// 设置walk动画的wrapmode模式为循环播放

animation["walk"].wrapmode =wrapmode.loop;

相关阅读

文章点评
相关文章