You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
644 B
18 lines
644 B
// simple component that holds team information
|
|
using UnityEngine;
|
|
|
|
namespace Mirror
|
|
{
|
|
[DisallowMultipleComponent]
|
|
[AddComponentMenu("Network/ Interest Management/ Team/Network Team")]
|
|
[HelpURL("https://mirror-networking.gitbook.io/docs/guides/interest-management")]
|
|
public class NetworkTeam : NetworkBehaviour
|
|
{
|
|
[Tooltip("Set this to the same value on all networked objects that belong to a given team")]
|
|
public string teamId = string.Empty;
|
|
|
|
[Tooltip("When enabled this object is visible to all clients. Typically this would be true for player objects")]
|
|
public bool forceShown;
|
|
}
|
|
}
|