public override void OnAddedToScene(object source) { base.OnAddedToScene(source); MyPlanets.Register(this); MyGravityProviderSystem.AddNaturalGravityProvider(Components.Get <MyGravityProviderComponent>()); MyOxygenProviderSystem.AddOxygenGenerator(this); }
public override void LoadData() { MyGravityProviderSystem.AddNaturalGravityProvider(this); }