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).