기술 자료

Unity Engine

Unity Engine

offset

The local offset of the collider geometry.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
public Vector2 offset { get; set; }

Remarks

This offset can be used to shift the local origin of any 2D collider geometry.