docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Event OnUnloadEventCompleted

    Invoked when a UnloadEventCompleted event is generated by the server. This event signifies the end of an existing Unload event as it pertains to all clients connected when the event was started. This event signifies that all clients (and server) have finished the Unload event.
    Note: this is useful to know when all clients have unloaded a specific scene. The LoadSceneMode will always be Additive for this event.
    *** Do not start new scene events within scene event notification callbacks.

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