找回密码
 注册帐号

扫一扫,访问微社区

animationstate.blendmode 混合模式

2014-12-31 05:14| 发布者: 杨炎| 查看: 2786| 评论: 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;

相关阅读

文章点评
相关文章