I'm trying to save a simple list, then load it again on start.
Loading the single list (containing 2 elements) takes ~ 30 seconds.
Saving the same list takes ~ 10 seconds.
Is this normal?
My code runs perfectly without the EasySave lines.
Here is what I'm attempting:
Code: Select all
private List<AudioClip> songList = new List<AudioClip>();
void Start()
{
if (ES2.Exists("Song_List"))
{
songList = ES2.LoadList<AudioClip>("Song_List");
}
}
void SaveFunction()
{
songList.Add(song);
S2.Save(songList, "Song_List");
}