Delegate NetworkSceneManager.VerifySceneBeforeLoadingDelegateHandler
Delegate declaration for the VerifySceneBeforeLoading handler that provides an additional level of scene loading security and/or validation to assure the scene being loaded is valid scene to be loaded in the LoadSceneMode specified.
#
Namespace: Unity.Netcode#
Assembly: MLAPI.dll#
Syntax#
ParametersType | Name | Description |
---|---|---|
System.Int32 | sceneIndex | Build Settings Scenes in Build List index of the scene |
System.String | sceneName | Name of the scene |
LoadSceneMode | loadSceneMode | LoadSceneMode the scene is going to be loaded |
#
ReturnsType | Description |
---|---|
System.Boolean | true (valid) or false (not valid) |