docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Field OnMigratedToNewScene

    Notifies when the NetworkObject is migrated into a new scene

    Namespace: Unity.Netcode
    Assembly: solution.dll
    Syntax
    public Action OnMigratedToNewScene
    Returns
    Type Description
    Action
    Remarks
    • ActiveSceneSynchronization or SceneMigrationSynchronization (or both) need to be enabled
    • This only applies to dynamically spawned NetworkObjects.
    • This only works when using integrated scene management (NetworkSceneManager).
    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)