docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Reset

    Reset(double, double)

    Resets the time system to a time based on the given network parameters.

    Declaration
    public void Reset(double serverTimeSec, double rttSec)
    Parameters
    Type Name Description
    double serverTimeSec

    The most recent server time value received in seconds.

    double rttSec

    The current RTT in seconds. Can be an averaged or a raw value.

    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)