SetMultiplayerRoleForClassicTarget
Sets the multiplayer role that is going to be used for the provided build target.
읽는 시간 1분최근 업데이트: 3시간 전
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.