Version 2.1.0.0

DrawerUtilities.InvalidAttributeTargetUtility class

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

Methods

GetValidTargets(Type)
public static List<Type> GetValidTargets(Type attribute)
Parameters
System.Type attribute

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

RegisterValidAttributeTarget(Type, Type)
public static void RegisterValidAttributeTarget(Type attribute, Type target)
Parameters
System.Type attribute

System.Type target

ShowInvalidAttributeErrorFor(InspectorProperty, Type)
public static bool ShowInvalidAttributeErrorFor(InspectorProperty property, Type attribute)
Parameters
InspectorProperty property

System.Type attribute

Returns
System.Boolean

ShowInvalidAttributeErrorFor(Type, Type)
public static bool ShowInvalidAttributeErrorFor(Type attribute, Type value)
Parameters
System.Type attribute

System.Type value

Returns
System.Boolean