Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Public Attributes | Protected Attributes | Properties | List of all members
Expansions.Missions.Editor.MENodeCategorizer Class Reference
Inheritance diagram for Expansions.Missions.Editor.MENodeCategorizer:

Public Member Functions

void ClearSearchField ()
 Clear the search field and reset the search. More...
 
void DisplayNodesInCategory (string newCategory)
 Displays the nodes which belong in a specific category in the toolbox More...
 
void EnableDrag (bool enable)
 
void EnableDrag (Func< MEGUINodeIcon, bool > criteria, bool enable)
 
void FocusSearchField ()
 
List< string > GetDisplayedNodeNames ()
 
void HighLightDisplayedNodeIcon (bool isActive)
 
void HighlightNodes (bool highlight)
 
void HighlightNodes (Func< MEGUINodeIcon, bool > criteria, bool highlight)
 
void HightLightCategoryButton (bool isActive)
 
void HightLightCategoryButton (string categoryName, bool isActive)
 
void HightLightNodeIcon (MEGUINodeIcon nodeIcon, bool isActive)
 
void RefreshCurrentDisplay ()
 Refresh the display of the current category More...
 
void ResetStoredIcons ()
 Reset all Stored Icons More...
 
void SearchField_OnValueChange (string s, Action ballback)
 

Public Attributes

IconLoader categoryIconLoader
 
Transform displayedNodeIconTransformParent
 Parent transform for all the node icons that are being displayed. More...
 
MEBasicNodeListFilterList
< MEGUINodeIcon
ExcludeFilters
 
MENodeCategoryButton nodeCategoryButtonPrefab
 Prefab for instantiation node category buttons. More...
 
Transform nodeCategoryButtonTransformParent
 Parent transform for all of the node category buttons More...
 
IconLoader nodeIconLoader
 
MEGUINodeIcon NodeIconPrefab
 Prefab for instantiating node icons. More...
 
TMPro.TMP_InputField searchField
 Search field where user can type search data. More...
 
PointerClickHandler searchFieldClickHandler
 
float searchKeystrokeDelay = 0.25f
 How long we should wait before starting a search. More...
 

Protected Attributes

GameObject categoryIconLoaderPrefab
 
GameObject nodeIconLoaderPrefab
 

Properties

static MENodeCategorizer Instance [get, set]
 
bool ShowingSearchResults [get]
 True if the Toolbox is currently showing search results to the user. More...
 

Member Function Documentation

void Expansions.Missions.Editor.MENodeCategorizer.ClearSearchField ( )
inline

Clear the search field and reset the search.

void Expansions.Missions.Editor.MENodeCategorizer.DisplayNodesInCategory ( string  newCategory)
inline

Displays the nodes which belong in a specific category in the toolbox

void Expansions.Missions.Editor.MENodeCategorizer.EnableDrag ( bool  enable)
inline
void Expansions.Missions.Editor.MENodeCategorizer.EnableDrag ( Func< MEGUINodeIcon, bool >  criteria,
bool  enable 
)
inline
void Expansions.Missions.Editor.MENodeCategorizer.FocusSearchField ( )
inline
List<string> Expansions.Missions.Editor.MENodeCategorizer.GetDisplayedNodeNames ( )
inline
void Expansions.Missions.Editor.MENodeCategorizer.HighLightDisplayedNodeIcon ( bool  isActive)
inline
void Expansions.Missions.Editor.MENodeCategorizer.HighlightNodes ( bool  highlight)
inline
void Expansions.Missions.Editor.MENodeCategorizer.HighlightNodes ( Func< MEGUINodeIcon, bool >  criteria,
bool  highlight 
)
inline
void Expansions.Missions.Editor.MENodeCategorizer.HightLightCategoryButton ( bool  isActive)
inline
void Expansions.Missions.Editor.MENodeCategorizer.HightLightCategoryButton ( string  categoryName,
bool  isActive 
)
inline
void Expansions.Missions.Editor.MENodeCategorizer.HightLightNodeIcon ( MEGUINodeIcon  nodeIcon,
bool  isActive 
)
inline
void Expansions.Missions.Editor.MENodeCategorizer.RefreshCurrentDisplay ( )
inline

Refresh the display of the current category

void Expansions.Missions.Editor.MENodeCategorizer.ResetStoredIcons ( )
inline

Reset all Stored Icons

void Expansions.Missions.Editor.MENodeCategorizer.SearchField_OnValueChange ( string  s,
Action  ballback 
)
inline

Member Data Documentation

IconLoader Expansions.Missions.Editor.MENodeCategorizer.categoryIconLoader
GameObject Expansions.Missions.Editor.MENodeCategorizer.categoryIconLoaderPrefab
protected
Transform Expansions.Missions.Editor.MENodeCategorizer.displayedNodeIconTransformParent

Parent transform for all the node icons that are being displayed.

MEBasicNodeListFilterList<MEGUINodeIcon> Expansions.Missions.Editor.MENodeCategorizer.ExcludeFilters
MENodeCategoryButton Expansions.Missions.Editor.MENodeCategorizer.nodeCategoryButtonPrefab

Prefab for instantiation node category buttons.

Transform Expansions.Missions.Editor.MENodeCategorizer.nodeCategoryButtonTransformParent

Parent transform for all of the node category buttons

IconLoader Expansions.Missions.Editor.MENodeCategorizer.nodeIconLoader
GameObject Expansions.Missions.Editor.MENodeCategorizer.nodeIconLoaderPrefab
protected
MEGUINodeIcon Expansions.Missions.Editor.MENodeCategorizer.NodeIconPrefab

Prefab for instantiating node icons.

TMPro.TMP_InputField Expansions.Missions.Editor.MENodeCategorizer.searchField

Search field where user can type search data.

PointerClickHandler Expansions.Missions.Editor.MENodeCategorizer.searchFieldClickHandler
float Expansions.Missions.Editor.MENodeCategorizer.searchKeystrokeDelay = 0.25f

How long we should wait before starting a search.

Property Documentation

MENodeCategorizer Expansions.Missions.Editor.MENodeCategorizer.Instance
staticgetset
bool Expansions.Missions.Editor.MENodeCategorizer.ShowingSearchResults
get

True if the Toolbox is currently showing search results to the user.


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