Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
RUI.Icons.Selectable.IconLoader Class Reference

Used in PartCategorizer for editor part category icons More...

Inheritance diagram for RUI.Icons.Selectable.IconLoader:

Public Member Functions

Icon GetIcon (string name)
 

Public Attributes

Dictionary< string, IconiconDictionary = new Dictionary<string, Icon>()
 
List< Iconicons = new List<Icon>()
 

Protected Member Functions

void LoadIcon (GameDatabase.TextureInfo texInfo, Texture2D altTexture, bool useStockPath)
 

Detailed Description

Used in PartCategorizer for editor part category icons

Member Function Documentation

Icon RUI.Icons.Selectable.IconLoader.GetIcon ( string  name)
inline

< Attempt the second path

void RUI.Icons.Selectable.IconLoader.LoadIcon ( GameDatabase.TextureInfo  texInfo,
Texture2D  altTexture,
bool  useStockPath 
)
inlineprotected

< Put icon in dictionary for fast lookup

Member Data Documentation

Dictionary<string, Icon> RUI.Icons.Selectable.IconLoader.iconDictionary = new Dictionary<string, Icon>()
List<Icon> RUI.Icons.Selectable.IconLoader.icons = new List<Icon>()

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