public bool CheckForDashInput() { bool inputDash = dataBase.playerInput.Dash.Down; if (inputDash) { dashable.UpdateDashable(); } return(inputDash); }
public bool CheckForDashInput() { bool inputDash = false; foreach (PlayerInput inp in dataBase.playerInput) { if (inp.Dash.Down) { inputDash = true; } } if (inputDash) { dashable.UpdateDashable(); } return(inputDash); }