文档

Unity Engine

Unity Engine

offset

The local offset of the collider geometry.
阅读时间1 分钟最后更新于 1 天前

Definition

public Vector2 offset { get; set; }

Remarks

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