Skip to content

BlockData_ClassAPI

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

Contains data about the state of a Block in a Flowchart.

Inherits from: SaveData
Namespace: CGTUnity.Fungus.SaveSystem

Public Properties

virtual string BlockName

  • Name of the block this was made for.
virtual int CommandIndex
  • Index of the command that the block was executing. Is negative if there was none.
virtual bool WasExecuting
  • Whether or not the block was executing.

Constructors

BlockData()

BlockData(string blockName, int commandIndex = -1)

BlockData(Block block)

Public Methods

virtual void SetFrom(Block block)

  • Sets the state data this holds based on the passed Block.

Clone this wiki locally