| Namespace: | Sirenix.OdinInspector.Editor |
| Assembly: | Sirenix.OdinInspector.Editor |
public static class TypeRegistry
public static List<Type> GetInheritors(Type type)
| System.Type | type |
| System.Collections.Generic.List<System.Type> |
public static List<Type> GetInstantiableInheritors(Type type, bool includeUnityTypes)
| System.Type | type | |
| System.Boolean | includeUnityTypes |
| System.Collections.Generic.List<System.Type> |
public static List<Type> GetInstantiableInheritors(Type type, bool includeUnityTypes, bool excludeTypesWithoutDefaultConstructor)
| System.Type | type | |
| System.Boolean | includeUnityTypes | |
| System.Boolean | excludeTypesWithoutDefaultConstructor | This is checked using HasDefaultConstructor(Type). |
| System.Collections.Generic.List<System.Type> |
public static List<Type> GetValidTypesInCategory(AssemblyCategory category)
| AssemblyCategory | category |
| System.Collections.Generic.List<System.Type> |