Search found 3 matches

by c-andrews
Mon Nov 30, 2020 11:27 am
Forum: General Discussion
Topic: Saving a serialisable dictionary
Replies: 10
Views: 2504

Re: Saving a serialisable dictionary

Thanks Joel, I am currently using the Serialised Dictionary from Odin Inspector: https://odininspector.com/tutorials/serialize-anything/serializing-dictionaries public class MyCustomSerializedDictionary : UnitySerializedDictionary <string, PlayerGameData> { }; Would it be a case of creating the Type...
by c-andrews
Mon Nov 30, 2020 9:46 am
Forum: General Discussion
Topic: Saving a serialisable dictionary
Replies: 10
Views: 2504

Re: Saving a serialisable dictionary

Sorry Joel I've just re-read my message and I didn't explain my issue very well. I currently have a SerializedDictionary working in the inspector but currently I cannot get it to work with ES3. So I was wondering if there were any examples of how to get it working. I am getting this error when I try...
by c-andrews
Fri Nov 27, 2020 8:39 pm
Forum: General Discussion
Topic: Saving a serialisable dictionary
Replies: 10
Views: 2504

Saving a serialisable dictionary

Hi, could you tell me if there is any examples on how to properly use a serialised dictionary with ES3?

I’ve got the Dictionary working but I need to convert it so that I can see it in the inspector.

Thanks in advance