getcomponent rigidbody2d
Code Example - getcomponent rigidbody2d
(GameObjectName) = GetComponent<Rigidbody2D>();
(GameObjectName) = GetComponent<Rigidbody2D>();