I have a looping Blink animation that I want to play ontop of all my other animations (walks runs, idles etc). The blinking animation only has the eye joints with animation data, all the other joints are empty. I looked at the Unity documents and tried this. I believe this should make all the joints that are children of transform “shoulder” always play “blink” animation
However this doesnt work. Can anyone help me out, I would like to have my blinking animation constantly play ontop of everything else.
using UnityEngine;
using System.Collections;
public class Blink : MonoBehaviour {
public Transform shoulder;
void Awake() {
animation["blink"].AddMixingTransform(shoulder);
}
}