public void PlayPrepareAttack(Direction direction, WeaponType weapon) { StopMove(); if (!Animator.GetBool("PrepareAttack")) { Animator.SetInteger("Direction", direction.ToInteger()); Animator.SetInteger("Weapon", weapon.ToInteger()); Animator.SetBool("PrepareAttack", true); } }