# SetCustomComponents(Dictionary<Type, MultiplayerRoleFlags>)

> Sets the list of custom components that are automatically selected for the entire project.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Multiplayer.Editor](/engine/6000.6/script-reference/unity/multiplayer/editor.md)
* **Assembly:** UnityEditor

```csharp
public static void SetCustomComponents(Dictionary<Type, MultiplayerRoleFlags> customComponents)
```

### Parameters

**** (\[Dictionary\<Type, MultiplayerRoleFlags>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.dictionary-2)): A Dictionary where the key is the component Type and the value is the MultiplayerRoleFlags.
