SetMultiplayerRoleForBuildTarget(NamedBuildTarget, MultiplayerRoleFlags)
Sets the multiplayer role mask that is going to be used for the provided build target.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: Unity.Multiplayer.Editor
- Assembly: UnityEditor
public static void SetMultiplayerRoleForBuildTarget(NamedBuildTarget namedBuildTarget, MultiplayerRoleFlags mask)
Parameters
The build target to set the multiplayer role mask for.
The multiplayer role mask to assing to the build target.
Remarks
For compatibility with build profiles use SetMultiplayerRoleForBuildProfile instead.