protected override void Closing()
 {
     MyGravityProviderSystem.RemoveGravityGenerator(this);
     base.Closing();
 }
 public override void OnRemovedFromScene(object source)
 {
     MyGravityProviderSystem.RemoveGravityGenerator(this);
     base.OnRemovedFromScene(source);
 }