#if MULTIPLAYER_TOOLS using UnityEngine; namespace Unity.Netcode.TestHelpers.Runtime.Metrics { public class NetworkVariableComponent : NetworkBehaviour { public NetworkVariable MyNetworkVariable { get; } = new NetworkVariable(); private void Update() { if (IsServer) { MyNetworkVariable.Value = Random.Range(100, 999); } } } } #endif