docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor NetworkTimeSystem

    NetworkTimeSystem(double, double, double, double)

    The constructor class for NetworkTickSystem

    Declaration
    public NetworkTimeSystem(double localBufferSec, double serverBufferSec = 0.05000000074505806, double hardResetThresholdSec = 0.2, double adjustmentRatio = 0.01)
    Parameters
    Type Name Description
    double localBufferSec

    The amount of time, in seconds, the server should buffer incoming client messages.

    double serverBufferSec

    The amount of the time in seconds the client should buffer incoming messages from the server.

    double hardResetThresholdSec

    The threshold, in seconds, used to force a hard catchup of network time.

    double adjustmentRatio

    The ratio at which the NetworkTimeSystem speeds up or slows down time.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)