I can split the animations of an FBX file into individual takes by script.
However, I have not found a way to do that with .anim files.
Is it not possible to split .anim files into individual takes?
ps: This is the script that I use to split an FBX files into individual takes. However, I can't use the same script for anim files because there is no model importer for an anim file:
ModelImporter nModelImporter = (ModelImporter)AssetImporter.GetAtPath(sPathOfFBXFileInAssetFolder); nModelImporter.clipAnimations = (ModelImporterClipAnimation)nList.ToArray(typeof(ModelImporterClipAnimation));