Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


gravityScale

Scale the gravity applied to this body, non-dimensional.
Read time 1 minuteLast updated 11 days ago

Definition

  • Type: Property
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public float gravityScale { readonly get; set; }