# CreateFromThisModel

> Create the Avatar from this model and save it as a sub-asset.

## Definition

* **Type:** Field
* **Namespace:** [UnityEditor](/engine/6000.0/script-reference/unityeditor.md)
* **Assembly:** UnityEditor

```csharp
[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](/engine/6000.0/script-reference/unityeditor/modelimporter/avatarsetup.md).
