- Home /
Question by
tonycoculuzzi · Feb 10, 2013 at 07:09 PM ·
editoreditor-scriptingserializationserializedproperty
What would be the best way to go about loading and saving a Serializable object in JSON with Unity?
I'm creating an editor addon which will load the json file at runtime, and save it when the user makes changes in the editor. In this serializable object, there will be multiple other serializable objects, for example:
MasterSerializableObject:
ArrayOfSerializablePlayers[]:
SerializablePlayer:
Name
Age
Height
SerializableOptions:
InvertY
TextSpeed
This is just an example, but I want to store arrays of objects within the serializable object. What would be the best way to do this? All ideas/suggestions welcome.
Also posted in the Forum, but no takers yet.
Comment