diff --git a/Editor/TypeProcessors/TriRegisterButtonsTypeProcessor.cs b/Editor/TypeProcessors/TriRegisterButtonsTypeProcessor.cs index 9361e6d..fc9aa2b 100644 --- a/Editor/TypeProcessors/TriRegisterButtonsTypeProcessor.cs +++ b/Editor/TypeProcessors/TriRegisterButtonsTypeProcessor.cs @@ -24,7 +24,7 @@ namespace TriInspector.TypeProcessors private static bool IsSerialized(MethodInfo methodInfo) { - return methodInfo.GetCustomAttribute() != null; + return methodInfo.GetCustomAttribute(false) != null; } } } \ No newline at end of file diff --git a/Editor/TypeProcessors/TriRegisterShownByTriFieldsTypeProcessor.cs b/Editor/TypeProcessors/TriRegisterShownByTriFieldsTypeProcessor.cs index ed88f86..fbe357b 100644 --- a/Editor/TypeProcessors/TriRegisterShownByTriFieldsTypeProcessor.cs +++ b/Editor/TypeProcessors/TriRegisterShownByTriFieldsTypeProcessor.cs @@ -24,7 +24,7 @@ namespace TriInspector.TypeProcessors private static bool IsSerialized(FieldInfo fieldInfo) { - return fieldInfo.GetCustomAttribute() != null && + return fieldInfo.GetCustomAttribute(false) != null && TriUnitySerializationUtilities.IsSerializableByUnity(fieldInfo) == false; } } diff --git a/Editor/TypeProcessors/TriRegisterShownByTriPropertiesTypeProcessor.cs b/Editor/TypeProcessors/TriRegisterShownByTriPropertiesTypeProcessor.cs index e2d4f4c..6ccc720 100644 --- a/Editor/TypeProcessors/TriRegisterShownByTriPropertiesTypeProcessor.cs +++ b/Editor/TypeProcessors/TriRegisterShownByTriPropertiesTypeProcessor.cs @@ -24,7 +24,7 @@ namespace TriInspector.TypeProcessors private static bool IsSerialized(PropertyInfo propertyInfo) { - return propertyInfo.GetCustomAttribute() != null; + return propertyInfo.GetCustomAttribute(false) != null; } } } \ No newline at end of file