Version: 2022.3
언어: 한국어
public ModelImporterAvatarSetup avatarSetup ;

설명

The Avatar generation of the imported model.

This property depends on the value of ModelImporter.animationType:

- ModelImporterAnimationType.None or ModelImporterAnimationType.Legacy sets this property to ModelImporterAvatarSetup.NoAvatar because Avatar generation does not support the None or Legacy animation types.

- ModelImporterAnimationType.Generic supports any value.

- ModelImporterAnimationType.Human requires an avatar to import its animation. You must use either ModelImporterAvatarSetup.CreateFromThisModel, ModelImporterAvatarSetup.CopyFromOther or set ModelImporterAvatarSetup.autoGenerateAvatarMappingIfUnspecified to true .