Пример #1
0
 public static void OpenWindow()
 {
     myWindow = GetWindow(typeof(HardlightEditor)) as HardlightEditor;
     myWindow.Init();
     myWindow.titleContent = new GUIContent("Hardlight Ed");
     myWindow.name         = "Hardlight Ed";
 }
Пример #2
0
 void CheckIfInvalidSetup()
 {
     if (myWindow == null)
     {
         myWindow = this;
     }
     if (HardlightPanes == null || HardlightPanes.Count == 0 || CountNullPanes() > 0)
     {
         Init();
     }
 }