![]()  | 
  
    Liberi
    
   An exergame built for kids with CP! 
   | 
 
A visual representation of an Inventory item. Used by the StoreUIManager class to display items the vendor has. More...
Inherits MonoBehaviour.
Public Member Functions | |
| void | RotateAndScale (float degrees, float scale) | 
| Rotates the and scales the primary Icon of the tile. U Used for items that are displayed in the gui differently than they are mapped out in their texture atlas, such as guardian weapons that fit on a 45 degree angle inside of inventory tiles.  More... | |
| void | ResetRotationAndScale () | 
| Resets the rotation and scale of the primary icon to its default values.  More... | |
| void | SetSelected (bool state) | 
| Makes a tile appear selected (glowing orange selection box, slightly scaled).  More... | |
| void | SetSpecial (bool state) | 
| Makes a tile specially-selected (in the case of gem slot sub menu navigation)  More... | |
| void | Bounce () | 
| Plays a bounce animation on the tile to indicate an action was done on it (purchase/equip, etc).  More... | |
Public Attributes | |
| int | ItemPrice | 
| string | ItemName | 
| string | ItemDescription | 
Properties | |
| Sprite | PrimaryIcon [get, set] | 
| Sprite | FrontIcon [get, set] | 
| Sprite | BackIcon [get, set] | 
A visual representation of an Inventory item. Used by the StoreUIManager class to display items the vendor has.
Definition at line 9 of file InventoryTile.cs.
      
  | 
  inline | 
Plays a bounce animation on the tile to indicate an action was done on it (purchase/equip, etc).
Definition at line 109 of file InventoryTile.cs.
      
  | 
  inline | 
Resets the rotation and scale of the primary icon to its default values.
Definition at line 83 of file InventoryTile.cs.
      
  | 
  inline | 
Rotates the and scales the primary Icon of the tile. U Used for items that are displayed in the gui differently than they are mapped out in their texture atlas, such as guardian weapons that fit on a 45 degree angle inside of inventory tiles.
Definition at line 74 of file InventoryTile.cs.
      
  | 
  inline | 
Makes a tile appear selected (glowing orange selection box, slightly scaled).
Definition at line 92 of file InventoryTile.cs.
      
  | 
  inline | 
Makes a tile specially-selected (in the case of gem slot sub menu navigation)
Definition at line 101 of file InventoryTile.cs.