>Rigidbody.AddForce(0,10,0);
gameObject.GetComponent<Rigidbody>().AddForce(ほげ);

ちなみにGameObjectにRigidbodyコンポーネントを付与してるのが前提。