Skip to content

FlowchartData_ClassAPI

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

A modified version of Fungus's built-in FlowchartData. Each instance encapsulates the state of a single Flowchart, including its variables and blocks.

Inherits from: SaveData
Namespace: CGTUnity.Fungus.SaveSystem

Public Properties

string FlowchartName

  • Readable: yes
  • Writable: yes
List<StringVar> stringVars
  • Readable: yes
  • Writable: yes
List<IntVar> intVars
  • Readable: yes
  • Writable: yes
List<FloatVar> floatVars
  • Readable: yes
  • Writable: yes
List<BoolVar> boolVars
  • Readable: yes
  • Writable: yes
List<BlockData> blocks
  • Readable: yes
  • Writable: yes
  • Contains the states of the blocks of the Flowchart this was set for.

Constructors

FlowchartData()

  • Default
FlowchartData(Flowchart flowchart)
  • Changes own state to fit the passed flowchart

Public Methods

virtual void SetFrom(Flowchart flowchart)

  • Clears own state before altering it to fit the passed flowchart
override void Clear()
  • Clears own state.
static FlowchartData CreateFrom(Flowchart flowchart)
  • Creates and returns a FlowchartData with state fitting the passed Flowchart.

Clone this wiki locally