Version 3.1.11.0

UnityTypeCacheUtility class

Namespace: Sirenix.OdinInspector.Editor
Assembly: Sirenix.OdinInspector.Editor
public static class UnityTypeCacheUtility
Inheritance
  • System.Object
  • UnityTypeCacheUtility

Fields

IsAvailable
public static readonly bool IsAvailable

Methods

GetTypesDerivedFrom(Type)
public static IList<Type> GetTypesDerivedFrom(Type type)
Parameters
System.Type type

Returns
System.Collections.Generic.IList<System.Type>

GetTypesWithAttribute(Type)
public static IList<Type> GetTypesWithAttribute(Type attributeType)
Parameters
System.Type attributeType

Returns
System.Collections.Generic.IList<System.Type>

GetTypesWithAttribute<T>()
public static IList<Type> GetTypesWithAttribute<T>()
    where T : Attribute
Returns
System.Collections.Generic.IList<System.Type>

Type Parameters
T