Open alaa13212 opened 2 weeks ago
SaintsRow
does not work with SerializeReference
because it's designed to work with serialized field/property. SerializeReference
is internally draw by Unity (which is not the same process as serialized field/property) which does not expose drawing API for extending.
I'll see if it's possible to let SaintsRow
support it.
I'm trying to use
[SerializeReference]
with[ReferencePicker]
to render inspector for something similar to thisNotice how I need a
Layout
in the subclass. This doesn't work unless I useSaintsRow
.Now layout renders correctly. Only if the reference is assigned. When the reference is null SaintsRow drawer throw the following exception: