找回密码
 注册帐号

扫一扫,访问微社区

animationstate.clip 剪辑

2014-12-31 05:18| 发布者: 杨炎| 查看: 2086| 评论: 0|原作者: 蛮牛|来自: unity3d脚本manual

摘要: animationstate.clip 剪辑varclip:animationclipdescription描述the clip that is being played by this animation state.此动画状态播放的剪辑。c#javascriptusing unityengine;using system.collections;public cl ...

animationstate.clip 剪辑

varclip:animationclip

description描述

the clip that is being played by this animation state.

动画状态播放的剪辑。

c#

javascript

using unityengine;

using system.collections;

public class example :monobehaviour{

public void awake() {

print(animation["walk"].clip.framerate);

}

}

// prints the frame rate of the animation clip to the console

// 打印动画剪辑的帧率到控制台

print(animation["walk"].clip.framerate);

相关阅读

文章点评
相关文章