示例#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;
        }
示例#2
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;
        }