Delegate NetworkSceneManager.OnLoadDelegateHandler
Delegate declaration for the OnLoad event.
See also:
Loadfor more information
Namespace: Unity.Netcode
Syntax
public delegate void OnLoadDelegateHandler(ulong clientId, string sceneName, LoadSceneMode loadSceneMode, AsyncOperation asyncOperation);
Parameters
Type | Name | Description |
---|---|---|
UInt64 | 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 |