- Home /
Question by
ManaAura · Aug 01, 2017 at 09:47 PM ·
inspectorserializationdatabaseserializedpropertydatabase handling
Where can I find the default "serialized data" files that Unity save and load during run-time / editor time from the inspector?
Is is possible to access the default data file that gets saved and load from inspector?
Consider the following example:
using System.Collections.Generic;
using UnityEngine;
public class TestMono : MonoBehaviour
{
public int intData;
public GameObject goData;
public moreData customStruct;
[System.Serializable]
public struct moreData
{
public List<string> stringListData;
}
}
Then... the code will give this output in the inspector for a "test mono" game-object. and lets say that game-object name is "TestGameObject"
Now... where can i find the DEFAULT data file that has all of the inspector field's data information (even if is read-only, it would be super nice).
Ex: TestGameObject.defaultserialized.textfile
TestMono
intdata --> "0"
goData --> "12345" (instance id of scene's gameobjects)
etc....
capture.png
(10.8 kB)
Comment