- Home /
Question by
Mel Zombie · Mar 30, 2015 at 09:48 AM ·
scriptableobjectcustomeditor
Prevent double serialization of a custom class
Please explain to me how this should be done so that multiple instances of a custom class can be used with in a custom editor as data holders? I.e. I'd like with a PropetyField method have a foldout with a custom class's fields when expanded.
Far as I understand custom class should be parented to ScriptableObject, created with CreateInstance and use HideFlags.HideAndDontSave but then i've got an object picker instead of foldout.
Thanks!
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613191631im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Problem with ScriptableObject and Custom Editor 2 Answers
How to create a custom editor for a ScriptableObject? 1 Answer
Show scriptable objects parameter into an array 2 Answers
Custom Editor for a scriptable object with an abstract list 2 Answers
Manually Saving ScriptableObject due to 2D Array... 0 Answers