protected override void OnShow() { if (Alex.InGame) { Background = null; BackgroundOverlay = new Color(Color.Black, 0.65f); } else { Background = new GuiTexture2D(_skyBox, TextureRepeatMode.Stretch); //BackgroundOverlay = null; } _optionsProvider.Load(); base.OnShow(); }
protected override void OnShow() { _optionsProvider.Load(); base.OnShow(); }