void OnStickFightMinigameClose() { Destroy(barAnim.gameObject); GetComponent <Animation>().Stop(idle.name); GetComponent <Animation>().Stop(duck.name); GetComponent <Animation>().Stop(struckLeft.name); GetComponent <Animation>().Stop(struckRight.name); GetComponent <Animation>().Stop(hitLeft.name); GetComponent <Animation>().Stop(hitRight.name); barAnim = null; walking.StopMoving(); walking.BlendToLocomotion(); SetToolsEnabled(false); }
public override void BlendToLocomotion() { characterWalking.BlendToLocomotion(); }