docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetLoadableObjectId

    GetLoadableObjectId(int)

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

    Declaration
    public LoadableObjectId GetLoadableObjectId(int id)
    Parameters
    Type Name Description
    int id

    The integer index returned by AddAsset().

    Returns
    Type Description
    LoadableObjectId

    The LoadableObjectId.

    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)