Ejemplo n.º 1
0
        protected void Update()
        {
            if (HighLogic.LoadedScene == GameScenes.SPACECENTER)
            {
                Destroy(gameObject);
            }

            try
            {
                if (this.firstRunGui != null)
                {
                    return;
                }
                if (this.ShowIssuesWindow())
                {
                    return;
                }
                if (this.checkerProgressGui == null)
                {
                    this.checkerProgressGui = this.gameObject.AddComponent <CheckerProgressGui>();
                }
            }
            catch (Exception ex)
            {
                Logger.Exception(ex);
            }
        }
Ejemplo n.º 2
0
 protected void Update()
 {
     try
     {
         if (this.firstRunGui != null)
         {
             return;
         }
         if (this.ShowIssuesWindow())
         {
             return;
         }
         if (this.checkerProgressGui == null)
         {
             this.checkerProgressGui = this.gameObject.AddComponent <CheckerProgressGui>();
         }
     }
     catch (Exception ex)
     {
         Logger.Exception(ex);
     }
 }
Ejemplo n.º 3
0
        protected void Update()
        {
            if (HighLogic.LoadedScene == GameScenes.SPACECENTER)
            {
                Destroy(gameObject);
            }

            try
            {
                if (this.firstRunGui != null)
                {
                    return;
                }
                if (this.ShowIssuesWindow())
                {
                    return;
                }
                if (this.checkerProgressGui == null)
                {
                    this.checkerProgressGui = this.gameObject.AddComponent<CheckerProgressGui>();
                }
            }
            catch (Exception ex)
            {
                Logger.Exception(ex);
            }
        }
Ejemplo n.º 4
0
 protected void Update()
 {
     try
     {
         if (this.firstRunGui != null)
         {
             return;
         }
         if (this.ShowIssuesWindow())
         {
             return;
         }
         if (this.checkerProgressGui == null)
         {
             this.checkerProgressGui = this.gameObject.AddComponent<CheckerProgressGui>();
         }
     }
     catch (Exception ex)
     {
         Logger.Exception(ex);
     }
 }