Runtime Save Creation
Find out how to create saves through code.
Important Information
SaveFileSetupData saveFileSetupData = new SaveFileSetupData()
{
fileName = "Save File",
saveLocation = SaveLocation.PersistentDataPath,
filePath = "Example/Path",
encryptionMethod = EncryptionMethod.None,
addToStorage = true
};
// Both of these will be editing the same save file
SaveFile saveFile1 = new SaveFile(saveFileSetupData);
SaveFile saveFile2 = new SaveFile(saveFileSetupData);Last updated