文档

Unity Engine

Unity Engine

CreateFromThisModel

Create the Avatar from this model and save it as a sub-asset.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Field
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
[Tooltip("Create an Avatar based on the model from this file.")]CreateFromThisModel = 1

Remarks

Use this enum value to create an Avatar sub-asset for the imported model. This enum value also adds an Animator component to the root of the generated GameObject. Additional Resources: ModelImporter.avatarSetup.