defaultClipAnimations
Generate a list of all default animation clip based on TakeInfo.
Read time 1 minuteLast updated 9 days ago
Definition
- Type: Property
- Namespace: UnityEditor
- Assembly: UnityEditor
public ModelImporterClipAnimation[] defaultClipAnimations { get; }
Remarks
Additional Resources: ModelImporterClipAnimation. Additional Resources: TakeInfo.
Examples
using UnityEngine;using UnityEditor;public class CreateAnimationClip : AssetPostprocessor{ void OnPreprocessAnimation() { ModelImporter modelImporter = assetImporter as ModelImporter; modelImporter.clipAnimations = modelImporter.defaultClipAnimations; }}