-
Notifications
You must be signed in to change notification settings - Fork 3
SaveMenu_ClassAPI
Main manager of the save system's UI, meant to be the main interface between said UI and objects outside the system.
Inherits from: MonoBehaviour
Namespace: CGTUnity.Fungus.SaveSystem
If not filled in, the instance will try filling them in itself on Awake.
protected GameLoader gameLoader
protected GameSaver gameSaver
protected SaveSlotManager slotManager
protected SaveManager saveManager
virtual void SaveToSlot(int slotNumber)
- Creates new GameSaveData with the passed slotNumber, and gets it written to disk, getting it assigned to the appropriate slot.
virtual void SaveToSlot(GameSaveData saveData)
virtual void SaveToSelectedSlot()
virtual void LoadFromSlot(int slotNumber)
- Loads GameSaveData assigned to the slot with the passed number.
virtual void LoadFromSlot(GameSaveData saveData)
virtual void LoadFromSelectedSlot()
virtual void ClearSlot(int slotNumber)
- Erases the save data from the slot with the passed number, and from disk.
virtual void ClearSlot(GameSaveData saveData)
virtual void ClearSelectedSlot()
virtual GameSaveData GetSaveFromSlot(int slotNumber)
- Checks the slot with the passed number and returns what GameSaveData it has.
virtual void Open()
virtual void Close()