Collider2D.shapeCount

public int shapeCount;

Description

The number of separate shaped regions in the collider.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答