Ejemplo n.º 1
0
    ///////////////////////////////////
    ///// Dash boost Section      /////
    ///////////////////////////////////
    public void Dash()
    {
        if (_dashing || _currentDashJauge < _dashCost)
        {
            return;
        }

        SOUND.Dash();
        _dashing           = true;
        _currentDashJauge -= _dashCost;
        Invoke("ResetDash", _dashDuration);
    }