ES3Settings.directory

public ES3.Directory directory;

Description

The directory to store data in when using the ES3.Location.File save location.

It is recommended to only use the default directory location of ES3.Directory.PersistentDataPath as this uses Unity’s Application.persistentDataPath, which is the only place guaranteed to exist at runtime.

ES3.Directory.DataPath uses Unity’s Application.dataPath, which stores data in the project’s Assets folder. However, this folder will not exist in builds on most platforms.

Accepted values:

  • ES3.Directory.PersistentDataPath
  • ES3.Directory.DataPath