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
    public virtual bool CanProvide(Type t, IResourceLocation location)
    Parameters
    Type Name Description
    Type t
    IResourceLocation location

    The resource location of the object.

    Returns
    Type Description
    bool

    True if this provider can create the specified object.

    Implements
    IResourceProvider.CanProvide(Type, IResourceLocation)
    In This Article
    Back to top
    Copyright © 2024 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)