docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Event OnSynchronize

    Invoked when a Synchronize event is started by the server after a client is approved for connection in order to synchronize the client with the currently loaded scenes and NetworkObjects. This event signifies the beginning of the synchronization event.
    Note: The server and connected client(s) will always receive this notification. This event is generated on a per newly connected and approved client basis.
    *** Do not start new scene events within scene event notification callbacks.

    Namespace: Unity.Netcode
    Assembly: solution.dll
    Syntax
    public event NetworkSceneManager.OnSynchronizeDelegateHandler OnSynchronize
    Returns
    Type Description
    NetworkSceneManager.OnSynchronizeDelegateHandler
    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)