gravity
Get/Set the gravity vector applied to all bodies in the world, usually in m/s^2. See PhysicsWorld.gravity.
읽는 시간 1분최근 업데이트: 21일 전
Definition
- Type: Property
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public Vector2 gravity { readonly get; set; }