docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Event OnSceneEvent

    Subscribe to this event to receive all SceneEventType notifications.
    For more details review over SceneEvent and SceneEventType.
    Alternate Single Event Type Notification Registration Options
    To receive only a specific event type notification or a limited set of notifications you can alternately subscribe to each notification type individually via the following events:

    • OnLoad Invoked only when a Load event is being processed
    • OnUnload Invoked only when an Unload event is being processed
    • OnSynchronize Invoked only when a Synchronize event is being processed
    • OnLoadEventCompleted Invoked only when a LoadEventCompleted event is being processed
    • OnUnloadEventCompleted Invoked only when an UnloadEventCompleted event is being processed
    • OnLoadComplete Invoked only when a LoadComplete event is being processed
    • OnUnloadComplete Invoked only when an UnloadComplete event is being processed
    • OnSynchronizeComplete Invoked only when a SynchronizeComplete event is being processed
    Note: Do not start new scene events within NetworkSceneManager scene event notification callbacks.
    Namespace: Unity.Netcode
    Assembly: solution.dll
    Syntax
    public event NetworkSceneManager.SceneEventDelegate OnSceneEvent
    Returns
    Type Description
    NetworkSceneManager.SceneEventDelegate
    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)