How can I extend the SerializeField attribute in Unity? Why is it sealed?
I have a custom attribute AutoAssign. When the attribute is applied to a field, I find object of the field type in scene and assign the found reference to the field automatically.
Now, I would also like to see the object in editor, but I do not want to write two attributes each time, i.e. SerializeField and AutoAssign.
Is there a way to extend SerializeField, ideally I would want my AutoAssign to extend SerializeField, but the SerializeField is sealed, so there seem to be no way to do that. ![]()