コード例 #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);
     }
 }