SetMultiplayerRoleMaskForGameObject(GameObject, MultiplayerRoleFlags)
Sets the multiplayer role mask for a GameObject.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: Unity.Multiplayer.Editor
- Assembly: UnityEditor
public static void SetMultiplayerRoleMaskForGameObject(GameObject gameObject, MultiplayerRoleFlags mask)
Parameters
The GameObject to set the multiplayer role mask to.
The multiplayer role mask to assing to the GameObject.