Vault Save System

Quick Start

Two calls — that's all you need to get started.

Save & Load

using VaultSaveSystem;

// Save
Vault.Save("score", 9999);
Vault.Save("player.name", "Hero");
Vault.Save("player.pos", transform.position);

// Load (supply a default in case the key doesn't exist yet)
int     score = Vault.Load<int>("score", 0);
string  name  = Vault.Load<string>("player.name", "Unnamed");
Vector3 pos   = Vault.Load<Vector3>("player.pos", Vector3.zero);

Files are written to disk immediately after every Save call and survive app crashes.

Use dotted keys like "Player.health" or "World.level" to keep things organized and avoid accidental key collisions.

Next Steps

Save & Load API
All supported types and advanced usage.
Drawers
Multiple save slots and save file management.
Examples
Full player, inventory, and multi-slot examples.