public override void AddToAnimatorController(AnimationClip animationClip, AnimatedAction animatedAction)
    {
        base.AddToAnimatorController(animationClip, animatedAction);
        switch (animatedAction)
        {
        case AnimatedAction.Idle:
            //idleAngleBlend.AddChild(animationClip);
            break;

        case AnimatedAction.Walk:
            //walkAngleBlend.AddChild(animationClip);
            break;

        case AnimatedAction.Run:
            //runAngleBlend.AddChild(animationClip);
            break;

        case AnimatedAction.Attack:
            //attackAngleBlend.AddChild(animationClip);
            break;

        case AnimatedAction.UseBow:
            //useBowAngleBlend.AddChild(animationClip);
            break;

        case AnimatedAction.Die:
            //dieAngleBlend.AddChild(animationClip);
            break;

        default:
            break;
        }
    }
Example #2
0
 public virtual void AddToAnimatorController(AnimationClip animationClip, AnimatedAction animatedAction)
 {
 }