Skip to content

GameSaver_ClassAPI

CG-Tespy edited this page May 4, 2020 · 2 revisions

Main object creating GameSaveData. Relies on other DataSavers attached to the same GameObject to do the bulk of the work.

Inherits: DataSaver<GameSaveData>
Implements: ISaveCreator
Namespace: CGTUnity.Fungus.SaveSystem

Public Methods

override IList<SaveDataItem> CreateItems()

  • Creates and returns a list of SaveDataItems consisting of a GameSaveData instance.
virtual GameSaveData CreateSave()
  • Creates and returns a single GameSaveData using the subsavers attached to the same GameObject.
virtual GameSaveData CreateSave(int slotNumber)
  • Like the no-arg version, but assigns the GameSaveData the passed slot number before returning it.
virtual GameSaveData CreateSave(SaveSlot saveSlot)
  • Like the no-arg version, but assigns the GameSaveData the number of the passed slot before returning it.

Clone this wiki locally