public bool CheckForDashInput()
    {
        bool inputDash = dataBase.playerInput.Dash.Down;

        if (inputDash)
        {
            dashable.UpdateDashable();
        }

        return(inputDash);
    }
Example #2
0
    public bool CheckForDashInput()
    {
        bool inputDash = false;

        foreach (PlayerInput inp in dataBase.playerInput)
        {
            if (inp.Dash.Down)
            {
                inputDash = true;
            }
        }

        if (inputDash)
        {
            dashable.UpdateDashable();
        }

        return(inputDash);
    }