docs.unity.cn
    Show / Hide Table of Contents

    Method Locate

    Locate(Object, Type, out IList<IResourceLocation>)

    Retrieve the locations from a specified key.

    Declaration
    bool Locate(object key, Type type, out IList<IResourceLocation> locations)
    Parameters
    Type Name Description
    Object key

    The key to use.

    Type type

    The resource type.

    IList<IResourceLocation> locations

    The resulting set of locations for the key.

    Returns
    Type Description
    Boolean

    True if any locations were found with the specified key.

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Friday, August 12, 2022
    Terms of use