Collider2D.offset
public Vector2 offset;
Description 描述
The local offset of the collider geometry.
This offset can be used to shift the local origin of any 2D collider geometry.
The local offset of the collider geometry.
This offset can be used to shift the local origin of any 2D collider geometry.