docs.unity3d.com
    Show / Hide Table of Contents

    Method Locate

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

    Locate all of the locations that match the given key.

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

    The key used to locate the locations.

    Type type

    The resource type.

    IList<IResourceLocation> locations

    The list of found locations. This list is shared so it should not be modified.

    Returns
    Type Description
    Boolean

    Returns true if a location was found. Returns false otherwise.

    Implements
    IResourceLocator.Locate(Object, Type, out IList<IResourceLocation>)
    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