Closed 3ternal closed 2 years ago
Hi!
That's a bug. I've probably messed something up with reflection. I'll fix it this week.
Hello again!
Turns out it's not really a bug. You declared your fields in the parent class as private
, so they are invisible in the child class (though Unity still serializes them). You can just declare stuff protected
and then attributes will work.
Hi,
I ran into an issue, and I'm unsure of whether it's a bug or whether I'm simply making a mistake.
Try the following setup:
In this situation, only Group B is appearing in the editor. The "Group A" heading doesn't appear. The same is true for Foldouts etc.
https://i.imgur.com/cQieGHw.png
I'm testing this in a fresh project, so my editor scripts are as you suggested in the docs.
This is Unity 2021.3.4 and MarkupAttributes 0.5.0.