Select any GameObject (like your Player, for example) and add:
GlobalID component → Gives it a unique identity
Saveable component → Handles saving & loading
TIP: If you simply add Saveable component, GlobalID will be automatically added, as Saveable depends on it.
In the Saveable inspector:
Find the component you want to access the fields to save.
Check boxes next to values you want to save (health, position, rotation... anything you need)
Choose Scope:
Scene: Data unique to this scene (enemy positions, door states)
Global: Data that crosses scenes (player stats, inventory)
The easiest way to test saving and loading:
Create a new GameObject.
Attach the SaveLoadShortcuts component.
Now you can:
Press S → Save your game.
Press L → Load your game.
Or, if you prefer buttons in your UI, hook Save() and Load() methods to them.
Pro Tip: You can also call saving/loading directly from code if you prefer full control:
SaveManager.SaveAll(); // Save everything await SaveManager.LoadAll(); // Load everything
You can also just use the Scene View Panel from OmniSave to Save & Load your games in the Editor!
Use the Scene View Panel (bottom-right in Scene view):
Click Save to save the current state
Click Load to restore it
Change slot numbers to test multiple save files
Last updated 20 days ago