找回密碼
 注冊帳號

掃一掃,訪問微社區

animationstate.blendmode 混合模式

2014-12-31 05:14| 發布者: 楊炎| 查看: 2736| 評論: 0|原作者: 蠻牛|來自: unity3d腳本manual

摘要: animationstate.blendmode 混合模式varblendmode:animationblendmodedescription描述which blend mode should be used?使用哪種混合模式?c#javascriptusing unityengine;using system.collections;public class exam ...

animationstate.blendmode 混合模式

varblendmode:animationblendmode

description描述

which blend mode should be used?

使用哪種混合模式?

c#

javascript

using unityengine;

using system.collections;

public class example :monobehaviour{

public void awake() {

animation["leanleft"].blendmode =animationblendmode.additive;

}

}

// set the leanleft animation to blend additively

// 設置leanleft動畫為相加混合

animation["leanleft"].blendmode =animationblendmode.additive;

相關閱讀

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