void Update() { animator.SetFloat("Speed", player.Speed); animator.SetBool("IsReloading", weapons.IsRealoading()); if (weapons.ShotThisFrame) { animator.SetTrigger("Shoot"); } }