public bool IsMatch(AssetImporter importer) { if (importer == null) { return(false); } AssetFilterType filterType = GetAssetFilterType(importer); return(IsMatch(filterType, importer.assetPath)); }
public void ApplyDefaults() { type = AssetFilterType.kAny; path = ""; }
public bool IsMatch(AssetFilterType type, string path) { return((this.type == AssetFilterType.kAny || type == this.type) && IsMatch(path)); }