Component.rigidbody2D
var rigidbody2D: Rigidbody2D;
Rigidbody2D rigidbody2D;
rigidbody2D as Rigidbody2D
Description

The Rigidbody2D that is attached to the Component's GameObject.

This property will be null if no Rigidbody2D::ref:: is attached.

See Also: rigidbody.