docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Field LastReceivedSnapshotByLocal

    The field has a different meaning on the client vs on the server:

    Client: it is the last received ghost snapshot from the server.

    Server: record the last command tick that has been received. Used to discard either out of order or late commands.

    Namespace: Unity.NetCode
    Assembly: solution.dll
    Syntax
    public NetworkTick LastReceivedSnapshotByLocal
    Returns
    Type Description
    NetworkTick
    In This Article
    Back to top
    Copyright © 2023 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)