If your dash mechanic is not working currently it might be because the Dash() coroutine is not being called. This is most likely due to the canDash bool not being set properly. To fix this bug, you’ll have to either:
1) Remember to set the canDash variable to true when you declare it.
2) Remove the canDash variable from the if statement in the StartDash() method.