ドキュメント

Unity Engine

Unity Engine

composite

Get the CompositeCollider2D that is available to be attached to the collider.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
public CompositeCollider2D composite { get; }

Remarks

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