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:
Remember to set the canDash variable to true when you declare it.
OR
Remove the canDash variable from the if statement in the StartDash() method.