找回密碼
 注冊帳號

掃一掃,訪問微社區

animationstate.clip 剪輯

2014-12-31 05:18| 發布者: 楊炎| 查看: 2054| 評論: 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);

相關閱讀

文章點評
相關文章
女校游泳队彩金