Documentation

Unity Engine

Unity Engine

SetMultiplayerRoleMaskForGameObject(GameObject, MultiplayerRoleFlags)

Sets the multiplayer role mask for a GameObject.
Read time 1 minuteLast updated a month 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.