Esempio n. 1
0
 protected override void DrawNodeWindow(int id)
 {
     base.DrawNodeWindow(id);
     try
     {
         DrawSub();
     }
     catch (System.Exception e) {
         string log = string.Format("Layout changed.{0}", e.ToString().Substring(0, 0));
         SWLog.Log(log);
     }
     DrawNodeWindowEnd();
 }
Esempio n. 2
0
 public virtual void ReImport()
 {
     if (Texture != null)
     {
         try
         {
             Texture.GetPixel(0, 0);
         }
         catch (UnityException e)
         {
             SWCommon.TextureReImport(Texture);
             string log = string.Format("Texture {0}'s Import Settings are modified.{1}",
                                        Texture.name, e.ToString().Substring(0, 0));
             SWLog.Log(log);
         }
     }
 }
        protected override void DrawRightUp()
        {
            DrawBG(rightUpRect);
            //GUILayout.Space (position.height * 0.3f);

            try
            {
                if (IsSelectSingleCode())
                {
                    DrawRightUp_Code();
                }
                else
                {
                    DrawRightUp_Settings();
                }
            }
            catch (System.Exception e) {
                string log = string.Format("Layout changed.{0}", e.ToString().Substring(0, 0));
                SWLog.Log(log);
            }
        }