v3.11.4 Documentation
Fungus.EditorUtils.VariableSelectPopupWindowContent Class Reference

Show the variable selection window as a searchable popup More...

Inheritance diagram for Fungus.EditorUtils.VariableSelectPopupWindowContent:
Fungus.EditorUtils.BasePopupWindowContent

Public Member Functions

 VariableSelectPopupWindowContent (string currentHandlerName, int width, int height)
 
- Public Member Functions inherited from Fungus.EditorUtils.BasePopupWindowContent
 BasePopupWindowContent (string currentHandlerName, int width, int height, bool showNoneOption=false)
 
override void OnGUI (Rect rect)
 
override Vector2 GetWindowSize ()
 

Static Public Member Functions

static void DoAddVariable (Rect position, string currentHandlerName, Flowchart flowchart)
 

Protected Member Functions

override void PrepareAllItems ()
 Called during Base Ctor, must fill allItems list so the ctor can continue to fill the visible items and current selected index. More...
 
override void SelectByOrigIndex (int index)
 Called when the user has confirmed an item from the menu. More...
 

Static Protected Member Functions

static void DoOlderMenu (Flowchart flowchart)
 
static void AddVariable (object obj)
 

Additional Inherited Members

- Protected Attributes inherited from Fungus.EditorUtils.BasePopupWindowContent
int hoverIndex
 
readonly string SEARCH_CONTROL_NAME = "PopupSearchControlName"
 
readonly float ROW_HEIGHT = EditorGUIUtility.singleLineHeight
 
List< FilteredListItemallItems = new List<FilteredListItem>()
 
string currentFilter = string.Empty
 
Vector2 scroll
 
int scrollToIndex
 
float scrollOffset
 
int currentIndex
 
Vector2 size
 
bool hasNoneOption = false
 
- Static Protected Attributes inherited from Fungus.EditorUtils.BasePopupWindowContent
static readonly char CATEGORY_CHAR = '/'
 

Detailed Description

Show the variable selection window as a searchable popup

Definition at line 12 of file VariableSelectPopupWindowContent.cs.

Constructor & Destructor Documentation

◆ VariableSelectPopupWindowContent()

Fungus.EditorUtils.VariableSelectPopupWindowContent.VariableSelectPopupWindowContent ( string  currentHandlerName,
int  width,
int  height 
)

Definition at line 113 of file VariableSelectPopupWindowContent.cs.

Member Function Documentation

◆ AddVariable()

static void Fungus.EditorUtils.VariableSelectPopupWindowContent.AddVariable ( object  obj)
staticprotected

Definition at line 118 of file VariableSelectPopupWindowContent.cs.

◆ DoAddVariable()

static void Fungus.EditorUtils.VariableSelectPopupWindowContent.DoAddVariable ( Rect  position,
string  currentHandlerName,
Flowchart  flowchart 
)
static

Definition at line 61 of file VariableSelectPopupWindowContent.cs.

◆ DoOlderMenu()

static void Fungus.EditorUtils.VariableSelectPopupWindowContent.DoOlderMenu ( Flowchart  flowchart)
staticprotected

Definition at line 74 of file VariableSelectPopupWindowContent.cs.

◆ PrepareAllItems()

override void Fungus.EditorUtils.VariableSelectPopupWindowContent.PrepareAllItems ( )
protectedvirtual

Called during Base Ctor, must fill allItems list so the ctor can continue to fill the visible items and current selected index.

Implements Fungus.EditorUtils.BasePopupWindowContent.

Definition at line 41 of file VariableSelectPopupWindowContent.cs.

◆ SelectByOrigIndex()

override void Fungus.EditorUtils.VariableSelectPopupWindowContent.SelectByOrigIndex ( int  index)
protectedvirtual

Called when the user has confirmed an item from the menu.

Parameters
indexIndex of into the original list of items to show given to the popupcontent

Implements Fungus.EditorUtils.BasePopupWindowContent.

Definition at line 56 of file VariableSelectPopupWindowContent.cs.


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