CompositeCollider2D.pathCount

public int pathCount;

Description

The number of paths in the Collider.

A path is a cyclic sequence of line segments between points that define the outline of a polygon. Since the polygon can have holes and discontinuous parts, its shape is not necessarily defined by a single path.

Additional resources: GetPath.


Did you find this page useful? Please give it a rating: