public static PropertyDrawer GetDrawer(FieldInfo field) { Type type = AttributeUtility.GetPropertyAttribute(field); return(GetDrawer(type)); }
public static Type GetPropertyAttribute(FieldInfo field) { return(AttributeUtility.GetPropertyAttribute(AttributeUtility.GetCustomAttributes(field)) ?? field.FieldType); }
public static Type GetCustomDrawerAttribute(Type type) { return(AttributeUtility.GetCustomDrawerAttribute(AttributeUtility.GetCustomAttributes(type))); }
public static string GetTooltip(this FieldInfo field) { return(AttributeUtility.GetTooltip(AttributeUtility.GetCustomAttributes(field))); }
public static string GetTooltip(this Type type) { return(AttributeUtility.GetTooltip(AttributeUtility.GetCustomAttributes(type))); }
public static string GetTooltip(this object obj) { return(AttributeUtility.GetTooltip(obj.GetType())); }