GetMultiplayerRoleForClassicTarget
Gets the multiplayer role that is going to be used for the provided build target.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Method
- Namespace: Unity.Multiplayer.Editor
- Assembly: UnityEditor
GetMultiplayerRoleForClassicTarget(BuildTarget)
Gets the multiplayer role that is going to be used for the provided build target.
public static MultiplayerRoleFlags GetMultiplayerRoleForClassicTarget(BuildTarget buildTarget)
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. |
GetMultiplayerRoleForClassicTarget(BuildTarget, StandaloneBuildSubtarget)
Gets the multiplayer role that is going to be used for the provided build target and subtarget.
public static MultiplayerRoleFlags GetMultiplayerRoleForClassicTarget(BuildTarget buildTarget, StandaloneBuildSubtarget subtarget)
Parameters
The build target to get the multiplayer role mask for.
The subtarget to get the multiplayer role mask for.
Returns
Type | Description |
|---|---|
| MultiplayerRoleFlags | Returns the multiplayer role mask for the provided build target and subtarget. |