Version: 2017.3
public CompositeCollider2D composite ;

説明

Get the CompositeCollider2D that is available to be attached to the collider.

Gets any CompositeCollider2D that this Collider2D would use if the Collider geometry is being composited using Collider2D.usedByComposite or returns null if no CompositeCollider2D were available.