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();
            }
        }
Exemplo n.º 2
0
 private void EditorApplicationOnProjectChanged()
 {
     DBEntryEditorUtils.AutoCollect();
 }