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
Syntax
public delegate bool VerifySceneBeforeUnloadingDelegateHandler(Scene scene);
Parameters
Type | Name | Description |
---|---|---|
Scene | scene | The scene to be unloaded |
Returns
Type | Description |
---|---|
Boolean | true (valid) or false (not valid) |