animation.clip 剪辑

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

摘要: animation.clip 剪辑varclip:animationclipdescription描述the default animation.默认的动画剪辑。c#javascriptusing unityengine;using system.collections;public class example :monobehaviour{public ienumerat ...

animation.clip 剪辑

varclip:animationclip

description描述

the default animation.

默认的动画剪辑。

c#

javascript

using unityengine;

using system.collections;

public class example :monobehaviour{

public ienumerator awake() {

animation.play(animation.clip.name);

yield return newwaitforseconds(animation.clip.length);

}

}

animation.play(animation.clip.name);

// wait for the animation to have finished

// 等待动画完成。

yield waitforseconds (animation.clip.length);

相关阅读

文章点评
相关文章