We've moved!

Starting from MRTK 2.6, we are publishing both conceptual docs and API references on docs.microsoft.com. For conceptual docs, please visit our new landing page. For API references, please visit the MRTK-Unity section of the dot net API explorer. Existing content will remain here but will not be updated further.

Search Results for

    Show / Hide Table of Contents

    Class TypeCacheUtility

    Utility class to store subclasses of particular base class keys Reloads between play mode/edit mode and after re-compile of scripts

    Inheritance
    Object
    TypeCacheUtility
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Microsoft.MixedReality.Toolkit.Utilities
    Assembly: cs.temp.dll.dll
    Syntax
    public static class TypeCacheUtility

    Methods

    GetSubClasses(Type)

    Get all subclass types of base class type parameter Does not work with .NET scripting backend

    Declaration
    public static List<Type> GetSubClasses(Type baseClassType)
    Parameters
    Type Name Description
    Type baseClassType

    base class type

    Returns
    Type Description
    List<Type>

    list of subclass types for base class type parameter

    GetSubClasses<T>()

    Get all subclass types of base class type T Does not work with .NET scripting backend

    Declaration
    public static List<Type> GetSubClasses<T>()
    Returns
    Type Description
    List<Type>

    list of subclass types for base class T

    Type Parameters
    Name Description
    T

    base class of type T

    In This Article
    Back to top Generated by DocFX