docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetLoadableSceneId

    GetLoadableSceneId(int)

    Gets a LoadableSceneId by its integer index with O(1) lookup.

    Declaration
    public LoadableSceneId GetLoadableSceneId(int id)
    Parameters
    Type Name Description
    int id

    The integer index returned by AddScene().

    Returns
    Type Description
    LoadableSceneId

    The LoadableSceneId.

    Implements
    IAddressableRootAsset.GetLoadableSceneId(int)
    In This Article
    Back to top
    Copyright © 2026 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)