I wrote a script that contains a series of class arrays that the user can make adustments to through some `OnGUI` buttons. After the user has made a change, I would like that to be recorded and saved, so that the modified values can be called back.
I'm having some trouble getting my head around how I could best save this information and how it would then be called back when needed. I'm writing this in javascript so that always helps - thx!
I forgot to mention in my original question that this script is assigned to several game objects, each having their own set of values. Knowing this would it be better to just save each array, or maybe it would be more efficient to create another array for all of the script instances? Is there a limit to the depth of an array?
– anon58197044