Skip to content

SaveSlot_ClassAPI

CG-Tespy edited this page Jul 30, 2019 · 2 revisions

Part of the UI that is assigned GameSaveData, displays information about it, and is usually part of the process of getting said data loaded after getting clicked.

Inherits from: MonoBehaviour
Namespace: CGTUnity.Fungus.SaveSystem

Inspector Fields

Text numDisplay

  • Lets the user know what number this slot has, which is usually based on its position relative to the other slots.
Text descDisplay
  • Displays the description tied to the GameSaveData assigned to it, if any.

Public Properties

RectTransform rectTransform

  • Readable: yes
  • Writable: no
virtual int Number
  • Readable: yes
  • Writable: no
virtual string Description
  • Readable: yes
  • Writable: no
virtual GameSaveData SaveData
  • Readable: yes
  • Writable: yes

Public Methods

virtual void Clear()

  • Unassigns its SaveData from itself, updating this instance's displays accordingly.

Clone this wiki locally