NetworkMatch.cs 485 B

123456789101112131415
  1. // simple component that holds match information
  2. using System;
  3. using UnityEngine;
  4. namespace Mirror
  5. {
  6. [DisallowMultipleComponent]
  7. [AddComponentMenu("Network/NetworkMatch")]
  8. [HelpURL("https://mirror-networking.gitbook.io/docs/guides/interest-management")]
  9. public class NetworkMatch : NetworkBehaviour
  10. {
  11. ///<summary>Set this to the same value on all networked objects that belong to a given match</summary>
  12. public Guid matchId;
  13. }
  14. }