public ES3.Location location;


Where data should be stored to and loaded from.

By default data is stored in a file in the physical file system.

However, on WebGL data will automatically be stored in PlayerPrefs regardless of what the location is set to as File IO is not allowed for security reasons.

This also allows you to set the load location to Resources, but data cannot be stored to Resources.

Accepted values:

  • ES3.Location.File
  • ES3.Location.PlayerPrefs
  • ES3.Location.Memory
  • ES3.Location.Resources