offset
The local offset of the collider geometry.
Read time 1 minuteLast updated 4 days ago
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.