Example #1
0
 /// <summary>
 /// 向物理世界添加一个定制的物体
 /// </summary>
 /// <param name="obj"></param>
 public void AddObject(CustomObject obj)
 {
     this.AddObject((PhysicsObject)obj);
     obj.OnInit(this);
 }