Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

GetKeyDown not working when moving in a specific direction

$
0
0
So I'm trying to implement a dash mechanic into my game and for the most part, it works really well, I got down the variables I wanted and switched them over to private before noticing that the dash button doesn't work specifically when moving to the left while jumping. I don't have anything that interacts with that chunk of my code to my knowledge and I've been pretty stumped. Sorry for the messy code and thanks ahead of time!

(I decided to include everything just in case, but I think the...

GetKeyDown not working when moving in a specific direction

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>