The weight of animation.
weight name layer lower upper 20% wave 2 0% 20% 50% walk 1 50% 40% 100% idle 0 50% 40%
// Set the blend weight of the walk animation to 0.5 animation["Walk"].weight = 0.5;
using UnityEngine; using System.Collections; public class Example : MonoBehaviour { void Example() { animation["Walk"].weight = 0.5F; } }
import UnityEngine import System.Collections public class Example(MonoBehaviour): def Example() as void: animation['Walk'].weight = 0.5F