PolygonCollider2D.pathCount
var pathCount: int;
int pathCount;
pathCount as int
Description

The number of paths in the polygon.

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

See Also: GetPath, SetPath.