docs.unity.cn
    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 Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Friday, March 4, 2022
    Terms of use