Hey buddies.
I kind of have to write a Iterator and Decorator for SerializedProperty. If anyone out there knows how to combine them in one class, like the SerializedProperty does, that would be great. Because when looking at the decompiled SerailizedProperty, It just shows external calls. My guess is, that Next(bool) just feeds SP new values. I kinda feel helplessly dumb… but that is not my actual Question. (Just if you happen to know the answer, tell me
)
My actual Question is: how can I prevent Unity to populate nonUnityObject fields? IS there no attribute out there? I guess it would break Unity’s Serialization System, but hey, I just had to ask, because having to check for _initializedXYZ all the time is freaking annoying^^