top of page

SavePather

The paths for save and encryption keys.

Properties

EncryptionKeyFileExtension

The encryption key's file extension. Default is ".enky".

EncryptionKeyFileName

The encryption key's file name. Default is Application.productName + "EncKey".

EncryptionKeyPath

The path to the directory where your game save's encryption key is located. Default is Application.persistentDataPath.

FilePath

The path to the directory in which your game is saved. Default is Application.persistentDataPath.

FileName

The game save's file name. Default is Application.productName.

FileExtension

Determines whether or not this class can host initialization, late initialization, save/load and other ProSaver operations.

FullEncryptionKeyFileName

The full name of the encryption key file. (EncryptionKeyFileName + EncyrptionKeyFileExtension).

FullEncryptionKeyFilePath

The full path to load the save's encryption key. Path.Combine(EncryptionKeyPath, FullEncryptionKeyFileName).

FullSaveFileName

The full name of the save game file. (FileName + SaveFileNum + FileExtension).

FullSaveFilePath

The full path to save files. code => Path.Combine(FilePath, FullName).

The games saves file number. Change this number to allow for multiple saves of your game. Note, that this applies Mathf.Abs(value) to any value you pass, so that this number can not be negative.

Methods

FilePathExists

EncryptionKeyPathExists

Returns true is an encryption key is found at encryption keys file path, and false if none is found.

bottom of page