Delegate NetworkSceneManager.OnLoadDelegateHandler
Delegate declaration for the OnLoad event.
See also:
Loadfor more information
Namespace: Unity.Netcode
Assembly: Unity.Netcode.Runtime.dll
Syntax
public delegate void NetworkSceneManager.OnLoadDelegateHandler(ulong clientId, string sceneName, LoadSceneMode loadSceneMode, AsyncOperation asyncOperation)
Parameters
Type | Name | Description |
---|---|---|
ulong | clientId | the client that is processing this event (the server will receive all of these events for every client and itself) |
string | sceneName | name of the scene being processed |
LoadSceneMode | loadSceneMode | the LoadSceneMode mode for the scene being loaded |
AsyncOperation | asyncOperation | the associated AsyncOperation that can be used for scene loading progress |