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 ;
Page last updated: 2011-1-7