Documentation

Unity Engine

Unity Engine

gravity

Get/Set the gravity vector applied to all bodies in the world, usually in m/s^2. See PhysicsWorld.gravity.
Read time 1 minuteLast updated 2 months ago

Definition

public Vector2 gravity { readonly get; set; }