Collider2D.AttachedRigidbody

Output Rigidbody2D attached to Collider2D.

Collider2D.AttachedRigidbody

Properties

Property NameDescription
Collider 2D Collider2D
Attached Rigidbody Result output
Returns null if the Collider2D is attached to no Rigidbody2D.