apilola
apilola
> > I am not quite sure why the access is restricted in sub-classes. So take my solution with a grain of salt. > > > > An easy way...
I have a custom attribute that does this exact thing, called "Extends". Would you be okay with me submitting a pull request for that?
Quck Note: When switching between types, the property will automatically try to copy any fields from the original object to the destination object.
What do you think? Should I submit a pull request with a preprocessor directive hiding it from older versions of unity?
Formerly Created a PR here: https://github.com/dbrizov/NaughtyAttributes/pull/368