- Home /
Question by
Martin Schultz · Jun 08, 2010 at 05:52 PM ·
importassetremovecopy
How can I remove a component during the asset import?
There is yet no RemoveComponent function if I want to remove a component of an object during the importing process. How can I archive this?
Comment
Answer by Martin Schultz · Jun 08, 2010 at 05:53 PM
You should be able to use UnityEngine.Object.Destroy(componentThatIsDislikedSoMuch) in an AssetPostProcessor.
(Thanks to Lucas Meijer for this answer)