- Home /
Question by
juniperspark · Oct 25, 2017 at 03:14 PM ·
textdatabasescriptableobjectxmlconvert
Can you convert your scriptable object into a text format and edit it?
Can I create a scriptable object. Enter data into it. Convert it to a text file and also edit the data in it as you might do in an XML and then convert it back into a scriptable object? I read somewhere there was a tick box button in Unity Pro to do something like this, but i don't know where it is or if it still exists.
Comment
Best Answer
Answer by Hellium · Oct 25, 2017 at 03:40 PM
If you go to Edit
> Project Settings
> Editor
, you can set the Asset Serialization
field to Force Text
.
Once you have done that, all your assets are serialized in the YAML format.
You can now open your ScriptableObject.asset
in a text editor and edit the properties.
BUT be carefull at what you change, some values must not be altered, especially the values starting with a m_
Your answer
![](https://koobas.hobune.stream/wayback/20220612141826im_/https://answers.unity.com/themes/thub/images/avi.jpg)