// Unity example: Player Jump

if (Input.GetKeyDown(KeyCode.Space))

{

rb.AddForce(Vector2.up * jumpForce);

}

This user hasn't liked anything yet.