Jak zrobić dobę skokową Unity 2d

if(Input.GetKeyDown(KeyCode.Space))
        {
            if  (isGrounded == true || jumpers < 2)
            {
                Jump();
                isGrounded = false;
                jumpers++;
            }
        }
        if(isGrounded == true)
         {
                jumpers = 0;
         }
Dull Dingo