Hi,
In a tool I’m developing, I create an asset with a number of sub-assets (with AssetDatabase.AddObjectToAsset).
Is it possible to remove those sub-assets? I can only find a way to remove the main asset in the documentation.
Thanks!
Hi,
In a tool I’m developing, I create an asset with a number of sub-assets (with AssetDatabase.AddObjectToAsset).
Is it possible to remove those sub-assets? I can only find a way to remove the main asset in the documentation.
Thanks!
I found the solution myself - I just need to use DestroyImmediate, which I had already tried before posting this, but I also need to reimport the main asset.