Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetMultiplayerRoleMaskForGameObject(GameObject, MultiplayerRoleFlags)

Sets the multiplayer role mask for a GameObject.
Read time 1 minuteLast updated 8 days ago

Definition

public static void SetMultiplayerRoleMaskForGameObject(GameObject gameObject, MultiplayerRoleFlags mask)

Parameters

gameObject

The GameObject to set the multiplayer role mask to.

The multiplayer role mask to assing to the GameObject.