- Home /
Question by
LW · Jun 08, 2014 at 04:14 PM ·
serializationderived-class
"Unity can't serialize derived classes that are stored in a base-class pointer", why is this so?
I read a post from a user (Bunny83) and the quote was, "Unity can't serialize derived classes that are stored in a base-class pointer".
I guess I'm not understanding why this is the case and was hoping for a more in depth answer.
Thanks,
Comment
Because Unity $$anonymous$$m didn't think/want to implement serialization of subclasses.
It IS just a shortco$$anonymous$$g in Unity's state-of-being and I've punched it in the face several times for making me work around it.