- Home /
Question by
Srki94 · Aug 27, 2017 at 02:47 AM ·
editor-scriptingserializationeditorwindowc# dll
Shared data between Editor Windows that is also persistent and serialized?
Hi.
I want to load some data (Guicontent consisting of a texture, some text ...) That my editor windows will use with Selection Grid.
Right now my idea is to use a static class to load data to. However since loading takes some time, I would also need to keep this data persistent between play/edit mode and Unity recompile after loading it only once.
What would be the best approach to do this considering serialization, sharing between all windows etc.?
I have no idea how to solve this at the moment. Thanks.
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612133629im_/https://answers.unity.com/themes/thub/images/avi.jpg)