unity 2d box jump code example Example: unity 2d jump rigidbody2D.AddForce(new Vector2(0, 10), ForceMode2D.Impulse);