Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetMultiplayerRoleMaskForComponent(Component, MultiplayerRoleFlags)

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

Definition

public static void SetMultiplayerRoleMaskForComponent(Component component, MultiplayerRoleFlags mask)

Parameters

component

The Component to set the multiplayer role mask to.

The multiplayer role mask to assing to the Component.