Greetings. Unfortunately a small percentage of my data cannot be bound and in this situation there’s no tricks I can do to use serialized property I am forced to strictly use c# to manage this data.
I also don’t know ahead of time the type of the data. I know the type and value when I’m ready to render but nothing before hand.
The PropertyField works great with detecting the possible type and showing the correct field but it only works on Bind.
What is a smart way to handle this situation. In the past I’ve seen IMGUI assets just do a big switch or if condition to render the correct field type but I feel like we’re close to not having to do that since PropertyField is around.
Long term: Is there any plan to allow serialized objects to be a bit more fluid? It would be cool if in this situation I could just do a new SerializedObject and fake it’s context so I can do some bindings here without actually having UnitiyEngine.Objects to back them.
Thank you for reading.