Delegate NetworkSceneManager.VerifySceneBeforeUnloadingDelegateHandler
Delegate declaration for the VerifySceneBeforeUnloading handler that provides an additional level of scene unloading validation to assure the scene being unloaded should be unloaded.
Namespace: Unity.Netcode
Assembly: Unity.Netcode.Runtime.dll
Syntax
public delegate bool NetworkSceneManager.VerifySceneBeforeUnloadingDelegateHandler(Scene scene)
Parameters
Type | Name | Description |
---|---|---|
Scene | scene | The scene to be unloaded |
Returns
Type | Description |
---|---|
bool | true (valid) or false (not valid) |