예제 #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);
            }
        }
예제 #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);
     }
 }
예제 #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);
            }
        }
예제 #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);
     }
 }