Saving and Loading
Use the Sidekick Save Load Applier component to save and restore a character appearance. This is useful for saved games, scene changes, and reapplying a runtime character setup.
Set Up the Component
- Select a GameObject in your scene.
- Add Sidekick Save Load Applier.
- Assign the character GameObject you want to save or load in the Character field.
Apply Mode
| Mode | When it runs |
|---|---|
| On Enable | Runs when the GameObject is enabled. |
| On Disable | Runs when the GameObject is disabled. |
| On Invoke | Runs from code or an event. |
| On Button Press | Runs when a Unity UI Button on the same GameObject is pressed. |
Action and Save Slot
Choose Save to store the current character parts, blendshapes, and colors. Choose Load to restore them.
The Save Slot controls which numbered slot HeroBridge uses for the operation.
Character Identification
HeroBridge uses the referenced character GameObject name as its unique ID. You can save several characters in the same slot as long as each one has a unique name.
Use a unique character GameObject name and keep it identical when loading. This lets HeroBridge restore the correct parts, colors, and blendshapes for each character.