ドキュメント

Unity Engine

Unity Engine

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; }