# SetSharedMaterials(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 SetSharedMaterials(List<Material> materials)
```

### Parameters

**** (\[List\<Material>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.list-1)):&#x20;

### Remarks

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