docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method InstantiateScene

    InstantiateScene(int, ICodeLogger)

    Creates an instance of the scene specified by the scene index.

    Declaration
    public override Task<bool> InstantiateScene(int sceneIndex, ICodeLogger logger = null)
    Parameters
    Type Name Description
    int sceneIndex

    Index of the scene to be instantiated

    ICodeLogger logger

    Used for message reporting

    Returns
    Type Description
    Task<bool>

    True if instantiation was successful.

    Overrides
    GltfAssetBase.InstantiateScene(int, ICodeLogger)
    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)