WHAT’S THIS? #
The built-in save system has been developed to allow you to permanently save the changes you make on the touch interface during the game. It therefore allows you to save and load different configurations of your touch interface in real time. The integrated built-in save system supports the following elements:
- Touch Interface Layout Settings
- Active Opacity
- Inactive Opacity
- Inactive Lerp Rate
- Time Until Deactivated
- Time Until Reset
- Location and size of components
This feature will receive significant improvements soon.
HOW TO SAVE LAYOUT STATE? #

After modifying the touch interface, such as modifing the location or size of existing component, you can use the Save Layout node. This node has three parameters:
- Snapshot ID : You can save the layout state to different save locations, just like you would for a video game. I call these snapshots. Define the snapshot location with an identifier of type int32.
- Layout Reference : You must specify which layout is being saved. You must select the asset located in the content drawer, not the instance created by the Add Touch Interface function.
Snapshot ID will be asked when you want to load a snapshot.
HOW TO LOAD LAYOUT STATE? #

To load a layout state, you can use the Apply Snapshot node, it contains one parameter mentioned above which will allow you to load the correct snapshot. The Apply Snapshot node checks on its own if a save game slot exists on the storage space and if a snapshot exists at the specified index. You can of course do these checks yourself by using the Can Save node.
The Add Touch Interface function can apply the desired snapshot for you. Simply check Load Save and specify the Snapshot ID. The function will create the touch interface, its components, and apply the saved changes.

