docs.unity3d.com
    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.

    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023