Exemple #1
0
 public virtual void Dispose()
 {
     if (collisionShape != null)
     {
         collisionShape.Dispose();
         collisionShape = null;
     }
 }
 public void Dispose()
 {
     parent.CompoundShape.removeChildShape(collisionShape);
     collisionShape.Dispose();
 }