using FishNet.Managing.Timing;
using UnityEngine;
namespace FishNet.Transporting
{
[DisallowMultipleComponent]
[DefaultExecutionOrder(short.MaxValue)]
internal class NetworkWriterLoop : MonoBehaviour
{
#region Private.
///
/// TimeManager this loop is for.
///
private TimeManager _timeManager;
#endregion
private void Awake()
{
_timeManager = GetComponent();
}
private void LateUpdate()
{
Iterate();
}
///
/// Performs read on transport.
///
private void Iterate()
{
_timeManager.TickLateUpdate();
}
}
}