# SetMaterials(List<Material>)

> Assigns the shared materials of this object using the list of materials provided.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine](/engine/6000.0/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public void SetMaterials(List<Material> materials)
```

### Parameters

**** (\[List\<Material>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)): A list of materials to assign to this object.

### Remarks

Use this method to set the materials on this object using a list.
