mirror of
https://github.com/DerTyp7/defrain-shooter-unity.git
synced 2025-10-29 12:52:07 +01:00
16 lines
470 B
C#
16 lines
470 B
C#
// simple component that holds match information
|
|
using System;
|
|
using UnityEngine;
|
|
|
|
namespace Mirror
|
|
{
|
|
[DisallowMultipleComponent]
|
|
[AddComponentMenu("Network/NetworkMatch")]
|
|
[HelpURL("https://mirror-networking.gitbook.io/docs/guides/interest-management")]
|
|
public class NetworkMatch : NetworkBehaviour
|
|
{
|
|
///<summary>Set this to the same value on all networked objects that belong to a given match</summary>
|
|
public Guid matchId;
|
|
}
|
|
}
|