How to mark animations as legacy?
I know this question has been asked before, but I am new to Unity and I am using Unity 5.3.1. Not any one was asked for Unity 5.3.1.
Comment
Answer by YoloJoe · Feb 02, 2016 at 11:26 PM
Its simple! fist, press the animation you want to convert in the Project tab.
Then press the Rig tab in the Inspector and press Legacy in the Animation Type dropdown ;)
Remember to Apply the changes you have made ;D
Hi YoloJoe
Thanks for posting this answer. It has saved my times.
Now I have to automate it.
Do you have any idea?
How it can be done by a c# script ?
Thank you so much.
I think this may help ;-)
https://docs.unity3d.com/ScriptReference/AssetPostprocessor.OnPreprocessAnimation.html