ModelImporter.defaultClipAnimations

Switch to Manual
public ModelImporterClipAnimation[] defaultClipAnimations ;

Description

基于 TakeInfo 生成所有默认动画剪辑的列表。

另请参阅:ModelImporterClipAnimation。另请参阅:TakeInfo


public class CreateAnimationClip : AssetPostprocessor
{
    void OnPreprocessAnimation()
    {
        var modelImporter = assetImporter as ModelImporter;
        modelImporter.clipAnimations = modelImporter.defaultClipAnimations;
    }
}