Search Unity

Processing added/deleted sub-assets using AssetPostprocessor?

Discussion in 'Scripting' started by numberkruncher, Jun 1, 2014.

  1. numberkruncher

    numberkruncher

    Joined:
    Feb 18, 2012
    Posts:
    953
    I have just started using AssetPostprocessor.OnPostprocessAllAssets to detect and respond to the creation and deletion of a type of asset (custom ScriptableObject) which works wonderfully for singular asset files.

    However, it doesn't appear to be possible to detect the creation/deletion of sub-assets... Any ideas?