using FishNet.Managing.Timing;
using UnityEngine;
namespace FishNet.Transporting
{
[DisallowMultipleComponent]
[DefaultExecutionOrder(short.MinValue)]
internal class NetworkReaderLoop : MonoBehaviour
{
#region Private.
///
/// TimeManager this loop is for.
///
private TimeManager _timeManager;
#endregion
private void Awake()
{
_timeManager = GetComponent();
}
private void FixedUpdate()
{
_timeManager.TickFixedUpdate();
}
private void Update()
{
_timeManager.TickUpdate();
}
}
}