using FishNet.Managing; using FishNet.Managing.Timing; using FishNet.Transporting; using System; using UnityEngine; namespace FishNet.Component.ColliderRollback { public class RollbackManager : MonoBehaviour { #region Serialized. /// /// /// [Tooltip("Maximum time in the past colliders can be rolled back to.")] [SerializeField] private float _maximumRollbackTime = 1.25f; /// /// Maximum time in the past colliders can be rolled back to. /// internal float MaximumRollbackTime => _maximumRollbackTime; /// /// /// [Tooltip("Interpolation value for the NetworkTransform or object being rolled back.")] [Range(0, 250)] [SerializeField] internal ushort Interpolation = 2; #endregion /// /// Initializes this script for use. /// /// internal void InitializeOnce_Internal(NetworkManager manager) { } } }