ドキュメント

Unity Engine

Download Unity

Unity Engine

SetMultiplayerRoleForClassicTarget

Sets the multiplayer role that is going to be used for the provided build target.
読み終わるまでの所要時間 1 分最終更新 3時間前

Definition

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

buildTarget

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

buildTarget

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.