Is there a way to serialize script variable changes at runtime?
May 02 '12 at 10:08 AM
May 02 '12 at 09:49 AM
In the editor? Depends on what you're trying to do. Probably yes. In a built game? You can serialize objects using .net System.IO classes.
In the Editor, while in play mode. I'd like to keep the change I make while playing. I've tried using serializedObject with an editor script with no success.
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
Once you sign in you will be able to subscribe for any updates here
Answers and Comments
The best place to ask and answer questions about development with Unity. Check out our FAQ for more information.
To help users post good questions and use the site effectively we have posted a tutorial video. Please check it out.
asked: May 02 '12 at 10:08 AM
Seen: 524 times
Last Updated: May 02 '12 at 11:44 AM
Why is my C# array of objects fully populated when some of them should be null?
Serializable class using generics
Error serializing a class to save / load
What is runtime analogy for Editor's PrefabUtility.SetPropertyModifications?
Animate Instance of Serialized Class
C# how to setup a Binary Serialization
Serializing strings to XML C#
Sceneview Lags when using Arrays
Handle modified variables being temporarily reset at runtime