collider2D
The Collider2D component attached to this object.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public Component collider2D { get; }
Remarks
This returns null if no Collider2D is attached.
Additional Resources: Collider2D class.