Skip to main content

Unity.Netcode.NetworkSceneManager.OnUnloadDelegateHandler

Delegate declaration for the OnUnload event. See also: Unload for more information

Namespace: System.Dynamic.ExpandoObject

Assembly: Netcode.dll

Syntax

public delegate void OnUnloadDelegateHandler(ulong clientId, string sceneName, AsyncOperation asyncOperation);

Parameters

TypeNameDescription
System.UInt64*clientIdthe client that is processing this event (the server will receive all of these events for every client and itself)
System.String*sceneNamename of the scene being processed
AsyncOperation*asyncOperationthe associated that can be used for scene unloading progress