how to get the rigidbody component of a game object c# unity code example Example: unity rigid body variable public Rigidbody rigidbody;