Commit 2d3f3dcc by Philipp Adolf

Do not require a new key press to jump

parent fc4c13e0
......@@ -143,7 +143,7 @@ public class PlayerControl : MonoBehaviour
//if (_controller.isGrounded)
}
if (Input.GetKeyDown(jumpKeyCode))
if (Input.GetKey (jumpKeyCode))
{
//to avoid DOUBLE JUMP
if (_controller.isGrounded)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment