1. Home
  2. Docs
  3. Save Game Pro
  4. Scripting API
  5. SaveGame.Load



Load the data from the specified identifier.

Please note, if the type is a Component or Reference Type, then it will be instantiated without your knowledge, so, we recommend you to use SaveGame.LoadInto for loading Components and Reference Types.


identifierstringThe identifier to load the data from.required
type or TTypeThe type of data to load.required
defaultValueobjectThe default value to return when the specified data does not exists.optional
settingsSaveGameSettingsThe optional settings.optional


The loaded data if exists, otherwise returns the default value specified, else returns null.


Loading Simple Data

Loading Array

Loading from Folder


Was this article helpful to you? Yes 1 No

How can we help?