Esempio n. 1
0
 public DulyEditor()
 {
     _window         = this;
     _window.minSize = new Vector2(300f, 300f);
     _window.maxSize = new Vector2(800f, 800f);
     //CloudFileWatcher.Watch(true);
 }
Esempio n. 2
0
 public static void ShowWindow()
 {
     Debug.Log("Show");
     if (_window == null)
     {
         _window              = (DulyEditor)EditorWindow.GetWindow(typeof(DulyEditor));
         _texture             = AssetDatabase.LoadAssetAtPath <Texture>(Constants.ResourcesPath + "dnai_logo.png");
         _window.titleContent = new GUIContent("DNAI", _texture);
         _window.Show();
     }
     else
     {
         //_window.Close();
         _window.Focus();
     }
 }