private void Update()
 {
     if (!m_Jump)
     {
         // Read the jump input in Update so button presses aren't missed.
         m_Jump = Input.ButtonIsDown(PlayerInput.Button.A);
         //Debug.Log("JUMP AM: " + Input.controllerNumber);
     }
     attackTimer += Time.deltaTime;
     m_Throw      = Input.ButtonIsDown(PlayerInput.Button.B);
     if (m_Throw)
     {
         if (hatThrow.UpdateHatThrow(PlayerNumber))
         {
             animate.SetBool("isAttacking", true);
             attackTimer = 0;
         }
     }
     if (attackTimer >= 0.25f)
     {
         attackTimer = 0;
         animate.SetBool("isAttacking", false);
     }
 }