Skip to content

SaveSlotManager_ClassAPI

CG-Tespy edited this page Jul 30, 2019 · 1 revision

Submodule of the SaveMenu that takes care of the slots.

Inherits from: MonoBehaviour
Namespace: CGTUnity.Fungus.SaveSystem

Table of Contents

Public Properties

virtual SaveSlot SelectedSlot

  • Readable: yes
  • Writable: no

Public Methods

Retrieving Slots

virtual SaveSlot FindSlot(int slotNumber)

  • If this has a slot with the passed number, returns it. Returns null otherwise.
virtual SaveSlot FindSlot(GameSaveData saveData)

Altering Slots

virtual void SetSlotsWith(IList<GameSaveData> saves, bool clearSlotDataFirst = true)

  • Assigns the passed saves to the appropriate slots.
virtual void SetSlotWith(GameSaveData saveData)

virtual void ForceSetSlotWith(GameSaveData saveData)

virtual void ClearSlot(int slotNumber)

  • Removes save data from the slot with the passed number.

Clone this wiki locally