unity3d添加刚体、质量
this.gameObject.AddComponent<Rigidbody>(); this.gameObject.GetComponent<Rigidbody>().mass = 10.01f;
#################