offset
The local offset of the collider geometry.
阅读时间1 分钟最后更新于 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.