public static T GetAttribute <T>(this SerializedProperty property) where T : Attribute { return(ReflectionUtility.GetField(GetTargetObject(property), property.name).GetCustomAttribute <T>(true)); }
public static T GetAttribute <T>(this SerializedProperty property) where T : Attribute { return(ReflectionUtility.GetField(GetTargetObject(property), property.name).GetCustomAttribute <T>(true)); }