Skip to main content

Delegate NetworkSceneManager.OnLoadDelegateHandler

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

Namespace: Unity.Netcode
Assembly: MLAPI.dll
public delegate void OnLoadDelegateHandler(ulong clientId, string sceneName, LoadSceneMode loadSceneMode, AsyncOperation asyncOperation);
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