docs.unity.cn
    Show / Hide Table of Contents

    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)

    Back to top Copyright © 2023 Unity Technologies
    Generated by DocFX
    on Friday, April 21, 2023
    Terms of use