Guest User

Untitled

a guest
Aug 5th, 2019
74
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Update()
  2. {
  3. if(Input.getKeyDown(jumpKey))
  4. {
  5. doJump = true;​
  6. }
  7. }
  8.  
  9. FixedUpdate()
  10. {
  11. if(doJump)
  12. {
  13. doJump = false;
  14. Jump();​
  15. }
  16. }
RAW Paste Data