AnimationState.blendMode Manual     Reference     Scripting  
Scripting > Runtime Classes > AnimationState
AnimationState.blendMode

var blendMode : AnimationBlendMode

Description

Which blend mode should be used?

JavaScripts
// Set the leanLeft animation to blend additively

animation["leanLeft"].blendMode = AnimationBlendMode.Additive;

using UnityEngine;
using System.Collections;

public class example : MonoBehaviour {
void Awake() {
animation["leanLeft"].blendMode = AnimationBlendMode.Additive;
}
}

import UnityEngine
import System.Collections

class example(MonoBehaviour):

def Awake():
animation['leanLeft'].blendMode = AnimationBlendMode.Additive