Skip to content

FlowchartSaver_ClassAPI

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

Creates save data for Flowcharts in the current scene.

Inherits: DataSaver<FlowchartData>
Implements:

  • ISaveCreator<FlowchartData, Flowchart>
  • IGroupSaver<FlowchartData>
Namespace: CGTUnity.Fungus.SaveSystem

Inspector Fields

protected Flowchart[] flowcharts

  • Decides which Flowcharts get their states saved.

Public Methods

virtual FlowchartData CreateSave(Flowchart flowchart)

  • Creates a single FlowchartData object from the passed Flowchart
virtual IList CreateSaves()
  • Creates one FlowchartData for each Flowchart registered with this Saver, returning them all in a list.
virtual IList CreateItems()
  • Creates and returns a list of SaveDataItems created from each flowchart registered with this Saver.
virtual SaveDataItem CreateItem(Flowchart flowchart)
  • Creates a and returns a single SaveDataItem from the passed Flowchart.

Clone this wiki locally