Class TypeCacheUtility
Utility class to store subclasses of particular base class keys Reloads between play mode/edit mode and after re-compile of scripts
Inherited Members
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(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 |
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 |