docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method CanProvide

    CanProvide(Type, IResourceLocation)

    Determine if this provider can provide the specified object type from the specified location.

    Declaration
    bool CanProvide(Type type, IResourceLocation location)
    Parameters
    Type Name Description
    Type type

    The type of object.

    IResourceLocation location

    The resource location of the object.

    Returns
    Type Description
    bool

    True if this provider can create the specified object.

    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)