# materialLocation

> Material import location options.

## Definition

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

```csharp
public ModelImporterMaterialLocation materialLocation { get; set; }
```

### Remarks

When importing a new model, Unity imports materials as either external assets or sub-assets, based on this property.

Additional Resources: [ModelImporterMaterialLocation](/engine/6000.0/script-reference/unityeditor/modelimportermateriallocation.md).
