GetBoxColliderVertices2D()
Vector2[] GetBoxColliderVertices2D(BoxCollider2D collider)
This will return an array of vertices that define the shape of collider.
collider
the collider to get the vertices of
Vector2[]
an array of vertices that define the shape of collider
vertices in adjacent indexes define an edge
There was an error while loading. Please reload this page.