Version: 2023.1
public int shapeCount ;

描述

The number of active PhysicsShape2D the Collider2D is currently using.

If the Collider2D is disabled, inactive or in error then this count will be zero.