private bool CreateFirstRunGui()
 {
     foreach (var settings in AddonLibrary.Settings.Where(s => s.FirstRun))
     {
         this.shownFirstRunGui          = this.gameObject.AddComponent <FirstRunGui>();
         this.shownFirstRunGui.Settings = settings;
         this.shownFirstRunGui.Addons   = AddonLibrary.Addons.Where(a => a.Settings == settings).ToList();
         return(true);
     }
     return(false);
 }
Ejemplo n.º 2
0
 private bool CreateFirstRunGui()
 {
     foreach (var settings in AddonLibrary.Settings.Where(s => s.FirstRun))
     {
         this.shownFirstRunGui = this.gameObject.AddComponent<FirstRunGui>();
         this.shownFirstRunGui.Settings = settings;
         this.shownFirstRunGui.Addons = AddonLibrary.Addons.Where(a => a.Settings == settings).ToList();
         return true;
     }
     return false;
 }