Closed WiktorWasowski closed 7 years ago
This works as expected for me using the current master. Please reopen if you can reproduce using this (or a more recent) build. Thanks!
I'm sorry. I wrote this code here to illustrate the problem in my own scripts in a short way, without testing it. It works indeed (with the same version I used before). I found out what's the true source of the problem with my derived classes. They have editor scripts associated with them and I forgot I had to modify them in a Full Inspector way. Now that I've done that, everything works great.
If I have a class like this one:
And then a class that derives from it:
If I now plug
DerivedClass
to a GameObject, I can only inspect the fieldsfield
andotherField
in the editor.