unity3dImporters and (Post)Processors


Syntax

  • AssetPostprocessor.OnPreprocessTexture()

Remarks

Use String.Contains() to process only assets that have a given string in their asset paths.

if (assetPath.Contains("ProcessThisFolder"))
{
    // Process asset
}