SetMultiplayerRoleForBuildTarget(NamedBuildTarget, MultiplayerRoleFlags)
Sets the multiplayer role mask that is going to be used for the provided build target.
読み終わるまでの所要時間 1 分最終更新 3時間前
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.