v3.11.4 Documentation
Fungus.EditorUtils.VariableListAdaptor Class Reference

Classes

class  AddVariableInfo
 

Public Member Functions

Variable GetVarAt (int index)
 
 VariableListAdaptor (SerializedProperty arrayProperty, Flowchart _targetFlowchart)
 
void DrawVarList (int w)
 
void DrawItem (Rect position, int index, bool selected, bool focused)
 

Public Attributes

float fixedItemHeight
 
int widthOfList
 

Static Public Attributes

static readonly int DefaultWidth = 80 + 100 + 140 + 60
 
static readonly int ScrollSpacer = 0
 
static readonly int ReorderListSkirts = 50
 

Protected Member Functions

virtual void AddVariable (object obj)
 

Protected Attributes

SerializedProperty _arrayProperty
 

Properties

Flowchart TargetFlowchart [get]
 
SerializedProperty this[int index] [get]
 

Detailed Description

Definition at line 13 of file VariableListAdaptor.cs.

Constructor & Destructor Documentation

◆ VariableListAdaptor()

Fungus.EditorUtils.VariableListAdaptor.VariableListAdaptor ( SerializedProperty  arrayProperty,
Flowchart  _targetFlowchart 
)

Definition at line 50 of file VariableListAdaptor.cs.

Member Function Documentation

◆ AddVariable()

virtual void Fungus.EditorUtils.VariableListAdaptor.AddVariable ( object  obj)
protectedvirtual

Definition at line 90 of file VariableListAdaptor.cs.

◆ DrawItem()

void Fungus.EditorUtils.VariableListAdaptor.DrawItem ( Rect  position,
int  index,
bool  selected,
bool  focused 
)

Definition at line 146 of file VariableListAdaptor.cs.

◆ DrawVarList()

void Fungus.EditorUtils.VariableListAdaptor.DrawVarList ( int  w)

Definition at line 110 of file VariableListAdaptor.cs.

◆ GetVarAt()

Variable Fungus.EditorUtils.VariableListAdaptor.GetVarAt ( int  index)

Definition at line 42 of file VariableListAdaptor.cs.

Member Data Documentation

◆ _arrayProperty

SerializedProperty Fungus.EditorUtils.VariableListAdaptor._arrayProperty
protected

Definition at line 25 of file VariableListAdaptor.cs.

◆ DefaultWidth

readonly int Fungus.EditorUtils.VariableListAdaptor.DefaultWidth = 80 + 100 + 140 + 60
static

Definition at line 21 of file VariableListAdaptor.cs.

◆ fixedItemHeight

float Fungus.EditorUtils.VariableListAdaptor.fixedItemHeight

Definition at line 27 of file VariableListAdaptor.cs.

◆ ReorderListSkirts

readonly int Fungus.EditorUtils.VariableListAdaptor.ReorderListSkirts = 50
static

Definition at line 23 of file VariableListAdaptor.cs.

◆ ScrollSpacer

readonly int Fungus.EditorUtils.VariableListAdaptor.ScrollSpacer = 0
static

Definition at line 22 of file VariableListAdaptor.cs.

◆ widthOfList

int Fungus.EditorUtils.VariableListAdaptor.widthOfList

Definition at line 28 of file VariableListAdaptor.cs.

Property Documentation

◆ TargetFlowchart

Flowchart Fungus.EditorUtils.VariableListAdaptor.TargetFlowchart
get

Definition at line 31 of file VariableListAdaptor.cs.

◆ this[int index]

SerializedProperty Fungus.EditorUtils.VariableListAdaptor.this[int index]
get

Definition at line 38 of file VariableListAdaptor.cs.


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