Save Local Value
The Save Local Storage node allows you to save a key-value pair to the device’s local storage. This is particularly useful for persisting data such as user preferences, game progress, or any other information that needs to be retained between sessions.
Inputs
Key (String) : A unique identifier for the data you want to save. This key will be used to retrieve the value later.
Value (String) : The data you want to store, provided as a string. If you need to store other data types (e.g., integers or floats), you can convert them to strings before saving.
How It Works
When this node is executed, it stores the provided Key and Value in the local storage. If a value with the same key already exists, it will be overwritten. This ensures that your saved data remains up-to-date and consistent.
Use Cases
Save user preferences, such as language settings or audio levels.
Store game progress, such as the current level or score.
Persist AR-specific data, like object positions or user-generated content.

Last updated