- Home /
Question by
sedlu · Nov 12, 2012 at 04:35 AM ·
inspectorcustomdictionaryserialize
How to use SerializableDictionary in custom inspector?
Hi, I have a component which contains a dictionary field, and I want to make it able to be edited in inspector. I know that Unity doesn't support serialization of dictionary, so I chose Paul Welters' SeriaizableDictionary as the type of the field. But it is still not showed in the inspector. Even if I wrote a custom inspector for the component, the value of the field was still not saved.
Is there any way can solve this problem?
Thanks in advance.
Comment