Select your preferred scripting language. All code snippets will be displayed in this language.
enumeration
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseAnimation generation options for ModelImporter. These options relate to the legacy Animation system, they should only be used when ModelImporter.animationType==ModelImporterAnimationType.Legacy.
See Also: ModelImporter.generateAnimations.
None | Do not generate animations. |
GenerateAnimations | Default animation import mode (All animations are stored in the root object). |
InRoot | Generate animations in the transform root objects. |
InOriginalRoots | Generate animations in the root objects of the animation package. |
InNodes | Generate animations in the objects that animate. |