ドキュメント

Unity Engine

Download Unity

Unity Engine

GetMultiplayerRoleForBuildTarget(NamedBuildTarget)

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

Definition

注意
Deprecated. Use GetMultiplayerRoleForBuildProfile or GetMultiplayerRoleForClassicTarget instead.
public static MultiplayerRoleFlags GetMultiplayerRoleForBuildTarget(NamedBuildTarget namedBuildTarget)

Parameters

namedBuildTarget

The build target to get the multiplayer role mask for.

Returns

Type

Description

MultiplayerRoleFlagsReturns the multiplayer role mask for the provided build target.

Remarks

For compatibility with build profiles use GetMultiplayerRoleForBuildProfile instead.