GetMultiplayerRoleForBuildTarget(NamedBuildTarget)
Gets the multiplayer role mask that is going to be used for the provided build target.
Read time 1 minuteLast updated 14 days ago
Definition
- Type: Method
- Namespace: Unity.Multiplayer.Editor
- Assembly: UnityEditor
public static MultiplayerRoleFlags GetMultiplayerRoleForBuildTarget(NamedBuildTarget namedBuildTarget)
Parameters
The build target to get the multiplayer role mask for.
Returns
Type | Description |
|---|---|
| MultiplayerRoleFlags | Returns the multiplayer role mask for the provided build target. |
Remarks
For compatibility with build profiles use GetMultiplayerRoleForBuildProfile instead.