文档

Unity Engine

Download Unity

Unity Engine

gravityScale

Scale the gravity applied to this body, non-dimensional.
阅读时间1 分钟最后更新于 2 个月前

Definition

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