Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetMultiplayerRoleForBuildTarget(NamedBuildTarget)

Gets the multiplayer role mask that is going to be used for the provided build target.
Read time 1 minuteLast updated 14 days ago

Definition

Warning
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.