v3.11.4 Documentation
Fungus.VariableReference Struct Reference

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

Public Member Functions

Get< T > ()
 
void Set< T > (T val)
 

Public Attributes

Variable variable
 

Detailed Description

A simple struct wrapping a reference to a Fungus Variable.

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

Definition at line 10 of file VariableReference.cs.

Member Function Documentation

◆ Get< T >()

T Fungus.VariableReference.Get< T > ( )

Definition at line 14 of file VariableReference.cs.

◆ Set< T >()

void Fungus.VariableReference.Set< T > ( val)

Definition at line 26 of file VariableReference.cs.

Member Data Documentation

◆ variable

Variable Fungus.VariableReference.variable

Definition at line 12 of file VariableReference.cs.


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