private void Start()
 {
     maxFrames = TCNetworkManager.Instance.GetMaxFramePoints();
     frameData = new Dictionary <double, LagCompensationFrameData>();
     frameKeys = new FixedQueue <double>(maxFrames);
     LagCompensationManager.AddLagCompensatedObject(this);
 }
 private void OnDestroy()
 {
     LagCompensationManager.RemoveLagCompensatedObject(this);
 }