docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Property ClientSynchronizationMode

    ClientSynchronizationMode

    This setting changes how clients handle scene loading when initially synchronizing with the server.
    See: SetClientSynchronizationMode(LoadSceneMode)

    Declaration
    public LoadSceneMode ClientSynchronizationMode { get; }
    Property Value
    Type Description
    LoadSceneMode
    Remarks

    LoadSceneMode.Single: All currently loaded scenes on the client will be unloaded and the server's currently active scene will be loaded in single mode on the client unless it was already loaded.
    LoadSceneMode.Additive: All currently loaded scenes are left as they are and any newly loaded scenes will be loaded additively. Users need to determine which scenes are valid to load via the VerifySceneBeforeLoading and, if PostSynchronizationSceneUnloading is set, VerifySceneBeforeUnloading callback(s).

    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)