From dc81451ce58c95e7d0061bed2ab92075c16e5371 Mon Sep 17 00:00:00 2001 From: Sinai <49360850+sinai-dev@users.noreply.github.com> Date: Tue, 15 Mar 2022 01:18:12 +1100 Subject: [PATCH] Make Constructor toggle button actually do something --- src/Inspectors/ReflectionInspector.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Inspectors/ReflectionInspector.cs b/src/Inspectors/ReflectionInspector.cs index c1ad44f..ee6d99e 100644 --- a/src/Inspectors/ReflectionInspector.cs +++ b/src/Inspectors/ReflectionInspector.cs @@ -262,7 +262,8 @@ namespace UnityExplorer.Inspectors if ((member is CacheMethod && !MemberFilter.HasFlag(MemberFlags.Method)) || (member is CacheField && !MemberFilter.HasFlag(MemberFlags.Field)) - || (member is CacheProperty && !MemberFilter.HasFlag(MemberFlags.Property))) + || (member is CacheProperty && !MemberFilter.HasFlag(MemberFlags.Property)) + || (member is CacheConstructor && !MemberFilter.HasFlag(MemberFlags.Constructor))) continue; if (!string.IsNullOrEmpty(NameFilter) && !member.NameForFiltering.ContainsIgnoreCase(NameFilter))