Save File

To integrate save features into your game, you will need to call the Save() and Load() function inside NarrativeData script. You can access it with NarrativeData.Get();

All variable inside NarrativeData script will be saved, as long as they are Serializable.

You can find the save file inside Unity's persistantDataPath folder. Each OS has a different path, so check here to know where:

https://docs.unity3d.com/ScriptReference/Application-persistentDataPath.html

Last updated