Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

how to make dobuble jump unity 2d

if(Input.GetKeyDown(KeyCode.Space))
        {
            if  (isGrounded == true || jumpers < 2)
            {
                Jump();
                isGrounded = false;
                jumpers++;
            }
        }
        if(isGrounded == true)
         {
                jumpers = 0;
         }
 
PREVIOUS NEXT
Tagged: #dobuble #jump #unity
ADD COMMENT
Topic
Name
6+6 =