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; } }
public virtual void AddToAnimatorController(AnimationClip animationClip, AnimatedAction animatedAction) { }