public override void Initialize() { var gameSettings = Services.GetService <IGameSettingsService>()?.Settings; physicsConfiguration = gameSettings?.Configurations?.Get <PhysicsSettings>() ?? new PhysicsSettings(); }
public override void Initialize() { physicsConfiguration = Game?.Settings != null?Game.Settings.Configurations.Get <PhysicsSettings>() : new PhysicsSettings(); }