Class EditorMultiplayerRolesManager
Provides an api for managing multiplayer roles in the editor.
Inherited Members
Namespace: Unity.Multiplayer.Editor
Assembly: solution.dll
Syntax
public static class EditorMultiplayerRolesManager
Properties
Name | Description |
---|---|
Active |
Gets or sets the active multiplayer role mask. |
Enable |
Enables multiplayer roles for the project. |
Enable |
Enables safety checks for multiplayer roles. When entering play mode or building scenes, the editor will check and warn about any stripped GameObject or Component that is referenced by other objects and that can potentially cause null reference errors. |
Methods
Name | Description |
---|---|
Get |
Gets the multiplayer role mask that is going to be used for the provided build target. |
Get |
Gets the multiplayer role mask for a Component. |
Get |
Gets the multiplayer role mask for a GameObject. |
Set |
Sets the multiplayer role mask that is going to be used for the provided build target. |
Set |
Sets the multiplayer role mask for a Component. |
Set |
Sets the multiplayer role mask for a GameObject. |
Events
Name | Description |
---|---|
Active |
Event that is invoked when the active multiplayer role mask changes. |