Mecanim import settings

Hi,

I use the PostProcessor a lot, so I would like to automate animations importation. Every time I import an animation into Unity, I have to manually set the Rig options and avatar for an animation. I would like to automate that. Unfortunately, the ModelImporter class doesn’t give me access to the Rig settings. I can only assign modelImporter.animationType . But I also need to set the Avatar definition programatically (copy from avatar and set the path to the avatar asset). Is it possible right now? Thanks

Everything you can set is in the Animator class:

Currently you can’t access the importer - or specifically rig, bodymask, animator controller definitions - other than query it (i.e. isHuman) and as you’ve discovered modelimporter i.e. animationType, but maybe in the future.

Thanks but I’m already aware of the API. My question is about what isn’t documented or isn’t exposed yet like the Avatar definition in the rig settings.