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(); } }
private void EditorApplicationOnProjectChanged() { DBEntryEditorUtils.AutoCollect(); }