Version: 2018.3 (switch to 2019.1)
LanguageEnglish
  • C#

AnimationState.blendMode

public AnimationBlendMode blendMode;

Description

Which blend mode should be used?

using UnityEngine;
using System.Collections;

public class ExampleScript : MonoBehaviour { public Animation anim;

void Start() { // Set the leanLeft animation to blend additively anim["leanLeft"].blendMode = AnimationBlendMode.Additive; } }

Did you find this page useful? Please give it a rating: