Collider2D.shapeCount
var shapeCount: int;
int shapeCount;
shapeCount as int
Description

The number of separate shaped regions in the collider.