Skip to main content

Unity.Netcode.NetworkSceneManager.OnLoadDelegateHandler

Delegate declaration for the OnLoad event.
See also:
Loadfor more information

Syntax#
public delegate void OnLoadDelegateHandler(ulong clientId, string sceneName, LoadSceneMode loadSceneMode, AsyncOperation asyncOperation);
Parameters#
TypeNameDescription
System.UInt64clientIdthe client that is processing this event (the server will receive all of these events for every client and itself)
System.StringsceneNamename of the scene being processed
LoadSceneModeloadSceneModethe LoadSceneMode mode for the scene being loaded
AsyncOperationasyncOperationthe associated that can be used for scene loading progress