Version: 2023.2
言語: 日本語
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.

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961