docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Field ClientId

    The client identifier can vary depending upon the following conditions:

    1. SceneEventTypes that always set the ClientId to the local client identifier, are initiated (and processed locally) by the server-host, and sent to all clients to be processed.
      • Load
      • Unload
      • Synchronize
      • ReSynchronize
    2. Events that always set the ClientId to the local client identifier, are initiated (and processed locally) by a client or server-host, and if initiated by a client will always be sent to and processed on the server-host:
      • LoadComplete
      • UnloadComplete
      • SynchronizeComplete
    3. Events that always set the ClientId to the ServerId:
      • LoadEventCompleted
      • UnloadEventCompleted
    Namespace: Unity.Netcode
    Assembly: solution.dll
    Syntax
    public ulong ClientId
    Returns
    Type Description
    ulong
    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)