docs.unity.cn
    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
    Boolean

    True if this provider can create the specified object.

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