docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method LoadScene

    LoadScene(string, LoadSceneMode)

    Server side: Loads the scene name in either additive or single loading mode. When applicable, the AsyncOperation is delivered within the SceneEvent via OnSceneEvent

    Declaration
    public SceneEventProgressStatus LoadScene(string sceneName, LoadSceneMode loadSceneMode)
    Parameters
    Type Name Description
    string sceneName

    the name of the scene to be loaded

    LoadSceneMode loadSceneMode

    how the scene will be loaded (single or additive mode)

    Returns
    Type Description
    SceneEventProgressStatus

    SceneEventProgressStatus (Started means it was successful)

    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)