internal void InvokeEventForPaths(string[] paths, FileEvent e) { if (e == null) { return; } foreach (var p in paths) { if (IsValidPath(p)) { AssetFileInfo asset = new AssetFileInfo(p); if (observedAssetTypes == UnityAssetType.None || (observedAssetTypes & asset.Type) == asset.Type) { e.Invoke(asset); } } } }