- Home /
Is there a way to react to assets being deleted?
I have a custom import script for some textures where an associated material is automatically created upon import. I would also like to automatically delete associated materials if I decided to delete a texture, or even rename a texture. Is this kind of event scriptable in the editor?
Comment
Answer by Waz · Jun 22, 2011 at 06:08 AM
AssetPostprocessor.OnPostprocessAllAssets should do the trick.
Your answer
Follow this Question
Related Questions
Can you remove the default Asset Labels? 0 Answers
Script Compiller errors. need help fixing 1 Answer
Deleted Asset, Any way to recover it? 5 Answers
How to delete Assets in download list? 1 Answer
Can't delet an asset why ? 1 Answer