public void HandleBehaviour()
 {
     if (!m_PlayerBehaviour.m_GroundCheckBehaviour.m_OnGround)
     {
         m_PlayerBehaviour.SwitchState(new PlayerFallingBehaviour(m_PlayerBehaviour));
         m_PlayerBehaviour.BufferJump();
     }
 }
 public void HandleBehaviour()
 {
     if (!m_PlayerBehaviour.m_GroundCheckBehaviour.m_OnGround)
     {
         m_PlayerBehaviour.SwitchState(new PlayerDashFallBehaviour(m_PlayerBehaviour));
         m_PlayerBehaviour.BufferJump();
     }
     if (m_DashTime >= m_PlayerBehaviour.m_PlayerData.m_DashTimeLimit || !m_PlayerBehaviour.m_Input.m_DashButton)
     {
         if (m_PlayerBehaviour.m_Input.m_HorizontalAxis.Equals(0))
         {
             m_PlayerBehaviour.SwitchState(new PlayerStandingBehaviour(m_PlayerBehaviour));
         }
         else
         {
             m_PlayerBehaviour.SwitchState(new PlayerRunningBehaviour(m_PlayerBehaviour));
         }
     }
     else
     {
         m_DashTime += Time.deltaTime;
     }
 }