User Data
Store and manage player data to enhance gameplay experience and retain progress.
There are two types of storage: LocalStorage
and PlatformInternal
. When writing to local storage, data is saved on the player's device. When writing to internal storage, data is saved on the platform's servers.
If you need to call storage methods in a sequence, make sure you wait for previous call to finish, so there is no potential data collisions.
Default Storage Type
Identify the default storage type to understand where data is being saved (local or server).
PlaygamaBridge.DefaultStorageType
Used automatically if a specific type is not specified when working with data. Possible values: LocalStorage
, PlatformInternal
.
Support Check
Verify if the specified storage type is supported on the platform to ensure compatibility.

Ensure the platform supports the required features and storage types for proper functionality.
Storage Accessibility Check
Check if the specified storage type is currently available for use to manage data storage effectively. Possible values: true
, false
.

Load Data

Retrieve stored data based on a key or multiple keys to restore player progress or settings.

Save Data

Save data to the specified storage with a key to retain player progress or settings.

Delete Data
Remove data from the specified storage by key to manage player data and settings effectively.

Last updated