Ejemplo n.º 1
0
    public bool IsMatch(AssetImporter importer)
    {
        if (importer == null)
        {
            return(false);
        }

        AssetFilterType filterType = GetAssetFilterType(importer);

        return(IsMatch(filterType, importer.assetPath));
    }
Ejemplo n.º 2
0
 public void ApplyDefaults()
 {
     type = AssetFilterType.kAny;
     path = "";
 }
Ejemplo n.º 3
0
 public bool IsMatch(AssetFilterType type, string path)
 {
     return((this.type == AssetFilterType.kAny || type == this.type) &&
            IsMatch(path));
 }