DoubleJumpComp: The doubleJumpdoubleJump() component.numJumps: numberNumber of jumps allowed.doubleJump(force?: number): voidPerforms double jump (the initial jump only happens if player is grounded).onDoubleJump(action: ()=>void): KEventControllerRegister an event that runs when the object performs the second jump when double jumping.
doubleJump(force?: number): voidPerforms double jump (the initial jump only happens if player is grounded).
onDoubleJump(action: ()=>void): KEventControllerRegister an event that runs when the object performs the second jump when double jumping.