示例#1
0
    public bool CheckForDashInput()
    {
        bool inputDash = dataBase.playerInput.Dash.Down;

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

        return(inputDash);
    }
示例#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);
    }