ES_Save

string path - The Path of the file, such as 'Albert'.

Checks if a certain file has been saved already.

if (ES_Save.Exists('example-path')) {
  reference.value = ES_Save.Load('example-path');
}

string key - The key of the save, such as 'Albert'.

Checks if a certain key has been saved already.

if (ES_Save.ExistsWeb('example-key')) {
  reference.value = ES_Save.LoadWeb('example-key');
}

string path - The Path of the file, such as 'Albert'.

Deletes a save file if it exists.

if (ES_Save.Exists('example-path')) {
  ES_Save.DeleteData('example-path');
}

string key - The key of the save, such as 'Albert'.

Deletes a save key if it exists.

if (ES_Save.ExistsWeb('example-key')) {
  ES_Save.DeleteDataWeb('example-key');
}

T data - The Data to save, such as 'Albert', or 0, 1.5, false, and so on.

string path - The Path to save Data into, such as 'Player Data/Albert'.

Saves Data into encrypted memory.

reference.Save('hello', 'special-message');

T data - The Data to save, such as 'Albert', or 0, 1.5, false, and so on.

string path - The key to save Data into, such as 'Albert'.

Saves Data into encrypted memory.

reference.SaveWeb('hello', 'special-message');

string path - The Path to load Data from, such as 'Player Data/Albert'.

Returns a Data object from encrypted memory, if it exists.

if (ES_Save.Exists('example-path')) {
  reference.value = ES_Save.Load('example-path');
}

string key - The key to load Data from, such as 'Albert'.

Returns a Data object from encrypted memory, if it exists.

if (ES_Save.ExistsWeb('example-key')) {
  reference.value = ES_Save.LoadWeb('example-key');
}

Transform data - The transform to save.

string path - The path to save to.

Saves a transform into memory as position, rotation, and scale.

ES_Save.SaveTransform(reference, 'example-path');

Transform data - The transform to save.

string key - The key to save to.

Saves a transform into memory as position, rotation, and scale.

ES_Save.SaveTransformWeb(reference, 'example-key');

Transform data - The transform to load data into.

string path - The path to load from.

Loads a transform from memory as position, rotation, and scale.

if (ES_Save.Exists('example-path')) {
  ES_Save.LoadTransform(reference, 'example-path');
}

Transform data - The transform to load data into.

string key - The key to load from.

Loads a transform from memory as position, rotation, and scale.

if (ES_Save.Exists('example-key')) {
  ES_Save.LoadTransformWeb(reference, 'example-key');
}

RectTransform data - The rect transform to save.

string path - The path to save to.

Saves a rect transform into memory as position, rotation, and scale.

ES_Save.SaveRectTransform(reference, 'example-path');

RectTransform data - The rect transform to save.

string key - The key to save to.

Saves a rect transform into memory as position, rotation, and scale.

ES_Save.SaveRectTransformWeb(reference, 'example-key');

RectTransform data - The rect transform to load data into.

string path - The path to load from.

Loads a rect transform from memory as position, rotation, and scale.

if (ES_Save.Exists('example-path')) {
  ES_Save.LoadRectTransform(reference, 'example-path');
}

RectTransform data - The rect transform to load data into.

string key - The key to load from.

Loads a rect transform from memory as position, rotation, and scale.

if (ES_Save.Exists('example-key')) {
  ES_Save.LoadRectTransformWeb(reference, 'example-key');
}