Example #1
0
        private void EditInspectedMember(ref Rect region, object element, InspectedMember member, fiGraphMetadata metadata)
        {
            // requested skip
            if (ShouldShowMemberDynamic(element, member.MemberInfo) == false)
            {
                return;
            }

            if (member.IsMethod)
            {
                EditButton(ref region, element, member.Method);
            }
            else
            {
                EditProperty(ref region, element, member.Property, metadata);
            }

            region.y += DividerHeight;
        }
        private void EditInspectedMember(ref Rect region, object element, InspectedMember member, fiGraphMetadata metadata) {
            // requested skip
            if (ShouldShowMemberDynamic(element, member.MemberInfo) == false) {
                return;
            }

            if (member.IsMethod) {
                EditButton(ref region, element, member.Method);
            }
            else {
                EditProperty(ref region, element, member.Property, metadata);
            }

            region.y += DividerHeight;
        }