Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


gravity

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

Definition

public Vector2 gravity { get; set; }