static void OnPostprocessAllAssets(string[] importedAssets, string[] deletedAssets, string[] movedAssets, string[] movedFromAssetPaths)
 {
     if (PackageExporterWindow.is_opened == true)
     {
         PackageExporterWindow exporter_window = (PackageExporterWindow)EditorWindow.GetWindow(typeof(PackageExporterWindow));
         if (exporter_window != null)
         {
             exporter_window.RefreshContent();
         }
     }
 }
 private void OnEnable()
 {
     _window      = this;
     _initialized = true;
 }
 private void OnDestroy()
 {
     _window = null;
 }
 private static void ShowWindow()
 {
     _window = (PackageExporterWindow)EditorWindow.GetWindow(typeof(PackageExporterWindow), true);
     _window.Show();
     _window.RefreshContent();
 }
Exemple #5
0
 void OnDestroy()
 {
     window = null;
 }