Skip to content

FlowchartSaver_ClassAPI

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

Default module for creating save data for Flowcharts in the current scene.

Inherits: DataSaver<FlowchartData>
Implements:

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