Hi there,
I made this script to change a few settings to animation fox’s that are imported into the project -
public class FBX_ImportHelper_CharacterAnimation : AssetPostprocessor
{
void OnPostprocessModel(GameObject g)
{
if (g.name.Contains("@"))
{
ModelImporter modelImporter = assetImporter as ModelImporter;
modelImporter.useFileScale = false;
}
}
}
It seems to check the right boxes but the settings aren’t applied. I have to jog it into action by changing any other setting and re-applying the changes.
Does anyone know why that’s not working? It would save so many accidental issues for me if I could get it to work.
Thanks!
Pete