HeroBridge API

Saving and Loading API

Save and load a Sidekick character appearance from a numbered slot.

API: Saving and Loading

HeroBridge uses the character GameObject name as the unique ID for saved data.

csharp
sidekick.SaveCharacter(float saveSlot);
sidekick.LoadCharacter(float saveSlot);

The save slot value is rounded to an integer when HeroBridge saves or loads the character appearance.