leachy14/unity-option2

Cannot jump while moving

Closed this issue · 1 comments

If you are holding down left or right, you cannot jump mid-game. You have to stop, and push either left or right with up at the same time.

The problem is with the else if statement.
I recommend changing == to =<, or removing that variable.