docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method HasType

    HasType<T>()

    Return true if the type T is present in the assemblies of the cache

    Declaration
    public bool HasType<T>()
    Returns
    Type Description
    bool
    Type Parameters
    Name Description
    T

    HasType(Type)

    Returns true if the Type type is present in the assemblies of the cache and rebuilds the cache if needed

    Declaration
    public bool HasType(Type type)
    Parameters
    Type Name Description
    Type type
    Returns
    Type Description
    bool
    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)