NGUI: Next-Gen UI kit  3.7.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros
InvDatabaseInspector Class Reference

Inspector class used to edit Inventory Databases. More...

Inheritance diagram for InvDatabaseInspector:

Public Member Functions

Rect DrawSprite (Texture2D tex, Rect sprite, Material mat)
 Draw an enlarged sprite within the specified texture atlas. More...
 
Rect DrawSprite (Texture2D tex, Rect sprite, Material mat, bool addPadding)
 Draw an enlarged sprite within the specified texture atlas. More...
 
Rect DrawSprite (Texture2D tex, Rect sprite, Material mat, bool addPadding, int maxSize)
 Draw an enlarged sprite within the specified texture atlas. More...
 
override void OnInspectorGUI ()
 Draw the inspector widget. More...
 

Static Public Member Functions

static void SelectIndex (InvDatabase db, InvBaseItem item)
 Helper function that sets the index to the index of the specified item. More...
 

Detailed Description

Inspector class used to edit Inventory Databases.

Member Function Documentation

Rect InvDatabaseInspector.DrawSprite ( Texture2D  tex,
Rect  sprite,
Material  mat 
)

Draw an enlarged sprite within the specified texture atlas.

Rect InvDatabaseInspector.DrawSprite ( Texture2D  tex,
Rect  sprite,
Material  mat,
bool  addPadding 
)

Draw an enlarged sprite within the specified texture atlas.

Rect InvDatabaseInspector.DrawSprite ( Texture2D  tex,
Rect  sprite,
Material  mat,
bool  addPadding,
int  maxSize 
)

Draw an enlarged sprite within the specified texture atlas.

override void InvDatabaseInspector.OnInspectorGUI ( )

Draw the inspector widget.

static void InvDatabaseInspector.SelectIndex ( InvDatabase  db,
InvBaseItem  item 
)
static

Helper function that sets the index to the index of the specified item.


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