private static void OnPostprocessAllAssets(string[] importedAssets, string[] deletedAssets,
                                                   string[] movedAssets,
                                                   string[] movedFromAssetPaths)
        {
            var reCollectDB = false;

            reCollectDB =
                ContainsAsset(importedAssets) || ContainsAsset(deletedAssets) || ContainsAsset(movedAssets);

            if (reCollectDB)
            {
                DBEntryEditorUtils.AutoCollect();
            }
        }
Beispiel #2
0
 private void EditorApplicationOnProjectChanged()
 {
     DBEntryEditorUtils.AutoCollect();
 }