v3.9.1 Documentation
Fungus.BlockReference Struct Reference

A simple struct wrapping a reference to a Fungus Block. More...

Public Member Functions

void Execute ()
 

Public Attributes

Block block
 

Detailed Description

A simple struct wrapping a reference to a Fungus Block.

Allows for BlockReferenceDrawer. This is the recommended way to directly reference a fungus block in external c# scripts, as it will give you an inspector field that gives a drop down of all the blocks on a flowchart, in a similar way to what you would expect from selecting a block on a command.

Definition at line 14 of file BlockReference.cs.

Member Function Documentation

◆ Execute()

void Fungus.BlockReference.Execute ( )

Definition at line 18 of file BlockReference.cs.

Member Data Documentation

◆ block

Block Fungus.BlockReference.block

Definition at line 16 of file BlockReference.cs.


The documentation for this struct was generated from the following file: