Exemple #1
0
 private bool checkJump()
 {
     if (Input.GetKeyDown("space"))
     {
         initialYJump = margins.getMarginYBottom();
     }
     return(Input.GetKey("space") && !reachedMaxJump?true:false);
 }