SetMultiplayerRoleForClassicTarget
Sets 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
SetMultiplayerRoleForClassicTarget(BuildTarget, MultiplayerRoleFlags)
Sets the multiplayer role that is going to be used for the provided build target.
public static void SetMultiplayerRoleForClassicTarget(BuildTarget buildTarget, MultiplayerRoleFlags mask)
Parameters
The build target to set the multiplayer role mask for.
The multiplayer role mask to assing to the build target.
SetMultiplayerRoleForClassicTarget(BuildTarget, StandaloneBuildSubtarget, MultiplayerRoleFlags)
Sets the multiplayer role that is going to be used for the provided build target and subtarget.
public static void SetMultiplayerRoleForClassicTarget(BuildTarget buildTarget, StandaloneBuildSubtarget subtarget, MultiplayerRoleFlags mask)
Parameters
The build target to set the multiplayer role mask for.
The subtarget to set the multiplayer role mask for.
The multiplayer role mask to assing to the build target and subtarget.