기술 자료

Unity Engine

Unity Engine

gravity

Get/Set the gravity vector applied to all bodies in the world, usually in m/s^2.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Property
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public Vector2 gravity { get; set; }