gravity
Get/Set the gravity vector applied to all bodies in the world, usually in m/s^2.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public Vector2 gravity { get; set; }
public Vector2 gravity { get; set; }