docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    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: solution.dll
    Syntax
    public delegate bool NetworkSceneManager.VerifySceneBeforeLoadingDelegateHandler(int sceneIndex, string sceneName, LoadSceneMode loadSceneMode)
    Parameters
    Type Name Description
    int sceneIndex

    Build Settings Scenes in Build List index of the scene

    string sceneName

    Name of the scene

    LoadSceneMode loadSceneMode

    LoadSceneMode the scene is going to be loaded

    Returns
    Type Description
    bool

    true (valid) or false (not valid)

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)