docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Add

    Add(object, IResourceLocation)

    Add a new location.

    Declaration
    public void Add(object key, IResourceLocation location)
    Parameters
    Type Name Description
    object key

    The key to reference the location.

    IResourceLocation location

    The location to add.

    Add(object, IList<IResourceLocation>)

    Add a list of locations.

    Declaration
    public void Add(object key, IList<IResourceLocation> locations)
    Parameters
    Type Name Description
    object key

    The key to reference the locations with.

    IList<IResourceLocation> locations

    The list of locations to store at the given key.

    In This Article
    Back to top
    Copyright © 2025 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)