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