Managed Reference
The SerializeReference
attribute, added in Unity 2019.3, makes it possible to serialize references to interfaces and abstract classes.
The ManagedReference
attribute allows you to easily set subclasses of those abstract classes in the Editor that are serialized by SerializeReference
attribute.
- Set a subclasses from dropdown
- Group classes by the
ManagedReferenceGroupAttribute
with custom groupname - Create arrays of subclasses
https://github.com/avmedvedskiy/ManagedReference.git
from the Add package from git URL
option.