Exemple #1
0
        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();
        }
Exemple #2
0
 protected override void OnShow()
 {
     _optionsProvider.Load();
     base.OnShow();
 }