how to get a rigidbody unity script code example Example: unity rigid body variable public Rigidbody rigidbody;