using UnityEditor;
public class MyEditor : AssetPostprocessor
{
public void
OnPreprocessModel()
{
ModelImporter modelImporter =
(ModelImporter)assetImporter;
modelImporter.animationType =
ModelImporterAnimationType.Legacy;
}
}
原文地址:http://www.cnblogs.com/123ing/p/3767167.html