ESCSettingsManager
Constants Descriptions
SETTINGS_TEMPLATE
const SETTINGS_TEMPLATE: String = "settings.tres"
Template for settings filename
Property Descriptions
settings_folder
var settings_folder: String
Variable containing the settings folder obtained from Project Settings
custom_settings
var custom_settings: Dictionary
Dictionary containing specific settings that gamedev wants to save in settings This variable is access-free. Getting its content is gamedev’s duty. It is saved with other Escoria settings data when save_settings() is called.
Method Descriptions
apply_settings
func apply_settings() -> void
Apply the loaded settings
save_settings_resource_to_project_settings
func save_settings_resource_to_project_settings(settings: ESCSaveSettings)
load_settings
func load_settings()
Load the game settings from the settings file
get_settings
func get_settings() -> ESCSaveSettings
save_settings
func save_settings()
Save the game settings in the settings file.