SavesSettings¶
Source:
Assets/UpscaleSDK/Core/Saves/Runtime/Settings/SavesSettings.cs
class SavesSettings¶
Represents a saves settings class.
Fields¶
public bool EnableAutosaves = true¶
If true, autosaves will be enabled.2
public int SecondsBetweenAutosaves = 300¶
Number of seconds between autosaves.
public string SaveFileExtension = ""¶
File extension used for save files.
public string ProjectFolderName = ""¶
Name of the folder that will be mounted during the save. Name should not contain special characters.
public bool InitializeSystemOnAwake = true¶
If true, the save system will be initialized during the Awake phase of the game.
public UInt64 SaveSize = 40¶
Save size in MB (approximate). Used on PS4/PS5 to allocate save buffer.
public string XboxContainerName = ""¶
Name of the Xbox save container. Valid characters for the path portion of the container name (up to and including the final forward slash) includes uppercase letters (A-Z), lowercase letters (a-z), numbers (0-9), underscore (), and forward slash (/). The path portion may be empty. Valid characters for the file name portion (everything after the final forward slash) include uppercase letters (A-Z), lowercase letters (a-z), numbers (0-9), underscore (), period (.), and hyphen (-). The file name may not be empty, end in a period or contain two consecutive periods. The maximum length for the container name is 256 characters.