- Home /
Question by
Quido3 · Sep 21, 2016 at 11:36 PM ·
pluginserializationsavingplugins
Best way to save plugin configurations
I have been working on a plugin, and a while ago started making some of the it's configurations available to the developers.
I have been researching for a good way to save and present this data to developers in a easy and efficient way. I looked into serialization, Editor/PlayerPrefs, JSON serialization, ScriptableObjects and static variables, but haven't been able to decide what approach would be best.
These configurations should be accessible to modify from a custom editor window I have made, from script and should be persistent from editor to play mode and build. The saving method should also be compatible with any platforms Unity supports. The configurations include enums, Vectors, booleans, floats and structs.
Comment