Version: 5.6

Collider2D.attachedRigidbody

매뉴얼로 전환
public Rigidbody2D attachedRigidbody ;

설명

The Rigidbody2D attached to the Collider2D's GameObject.

This property will be null if no Rigidbody2D is attached.

See Also: Rigidbody2D