AnimationState.blendMode 混合模式
var blendMode : AnimationBlendMode
Description描述
Which blend mode should be used?
使用哪种混合模式?
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 ;
最后修改:2011年1月7日 Friday 1:01