Method SetMultiplayerRoleMaskForGameObject
SetMultiplayerRoleMaskForGameObject(GameObject, MultiplayerRoleFlags)
Sets the multiplayer role mask for a GameObject.
Declaration
public static void SetMultiplayerRoleMaskForGameObject(GameObject gameObject, MultiplayerRoleFlags mask)
Parameters
Type | Name | Description |
---|---|---|
GameObject | gameObject | The GameObject to set the multiplayer role mask to. |
MultiplayerRoleFlags | mask | The multiplayer role mask to assing to the GameObject. |