Version: 2023.1
언어: 한국어

CompositeCollider2D.GetCompositedColliders

매뉴얼로 전환
public int GetCompositedColliders (List<Collider2D> colliders);

파라미터

colliders A list of Collider2D that are being composited.

반환

int The number of colliders returned.

설명

When any Collider2D is using any composite operation other than Collider2D.CompositeOperation.None then it is used by this CompositeCollider2D.

The order of the Collider2D returned is sorted into ascending composite order as defined by Collider2D.compositeOrder.

See Also: Collider2D.compositeOperation and Collider2D.compositeOrder.