AnimationState.blendMode 混合模式


var blendMode : 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 ;


,