# EditorMultiplayerRolesManager.AutomaticSelection

> Provides an api for automatically stripping specific component types for the multiplayer roles.

## Definition

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

```csharp
public static class EditorMultiplayerRolesManager.AutomaticSelection
```

## Static Methods

| Method                                                                                                                                                                                        | Description                                                                                |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ |
| [GetCustomComponents](/engine/6000.7/script-reference/unity/multiplayer/editor/editormultiplayerrolesmanager/automaticselection/getcustomcomponents.md)                                       | Gets the list of custom components that are automatically selected for the entire project. |
| [GetMultiplayerRoleMaskForComponentType](/engine/6000.7/script-reference/unity/multiplayer/editor/editormultiplayerrolesmanager/automaticselection/getmultiplayerrolemaskforcomponenttype.md) | Gets the multiplayer role mask for a component type.                                       |
| [SetCustomComponents](/engine/6000.7/script-reference/unity/multiplayer/editor/editormultiplayerrolesmanager/automaticselection/setcustomcomponents.md)                                       | Sets the list of custom components that are automatically selected for the entire project. |
| [SetMultiplayerRoleMaskForComponentType](/engine/6000.7/script-reference/unity/multiplayer/editor/editormultiplayerrolesmanager/automaticselection/setmultiplayerrolemaskforcomponenttype.md) | Sets the multiplayer role mask for a component type.                                       |

## Classes

| Class                                                                                                                                                                         | Description                                                                                         |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- |
| [EditorMultiplayerRolesManager.AutomaticSelection.Server](/engine/6000.7/script-reference/unity/multiplayer/editor/editormultiplayerrolesmanager/automaticselectionserver.md) | Provides an api for automatically stripping common component types for the server multiplayer role. |
