SleekInventorySystem | |
AbstractDraggableInventoryItem | Basic class to be used as base for the most common types of inventory items. |
AbstractDraggableItem | Minimal implementation for any draggable item. It should know its previous slot (it was dragged away from) as well as be drawable. |
AbstractInventoryPage | Abstract description of a page in the inventory system. To be derived from to create different looking pages and page layouts. |
AbstractInventorySlotID | Base class to describe the position of a slot, holding an inventory item. This container can be used to store item positions in a file or on a server for example. The GetAllItems() method in the SleekInventory.cs class provides the functionality to retrieve all items along with their slot ids. |
ColliderDragTarget | Implementation of a custom drag target using a unity scene collider as a target to drop inventory items onto. |
CustomDragTarget | A class to enable the capability of allowing the user to drag items of the inventory to somewhere else. For example onto a 3d object in a unity scene. The class basically just provides a delegate that allows derived class to notify the outside world in case an item is dropped onto a custom drag target. |
GridInventory | Helper class to simplify common functionality for grid inventories. |
GridInventoryDataState | Class to contain the items information about a grid inventory. |
GridInventoryItemDescription | Simple description container that describes the position of a an item in a grid inventory. |
IInventoryDragTarget | Interface to define the behaviour of drag targets. |
IInventoryPageGenerator | Interface that is used by the inventory to create actual pages with their content on startup or whenever requested. |
ImageAndNumberItem | Implementation of a simple image with number item that can be used with the SleekInventory system. The number is displayed in the corner of the icon. |
ImageItem | Implementation of a simple image item that can be used with the SleekInventory system. |
InventorySlot | Concrete implementation of a slot in the inventory. |
InventorySlotID | |
ItemGridPage | Implementation of an inventory page consisting of a grid of slots to contain items. |
Matrix< T > | Generic managed matrix class for arbitrary types using 2 cascaded lists as internal datastructure. |
TabButton | Implementation of a tab button used for switching between pages of the inventory. |
SleekInventory | Public interface to the inventory system. |
SleekInventoryTextureContainer | A class to simplify the loading and access of textures for use with the SleekInventory system. Attach this class to a gameObject in unity and assign all needed textures to the public member variable. Retrieve the textures using the Get... method and the filename of the texture. |
TestInventoryController_DragItemOnGameObject | Simple test class to show how to set up and use the sleek inventory system to interact with gameobjects. |
TestInventoryController_MultiPageInventory | Simple test class to show how to set up and use the sleek inventory system for an inventory with a multiple pages and different icons. |
TestInventoryController_SaveAndLoad | Simple test class to show how to save and load the inventory. |
TestInventoryController_SinglePageInventory | Simple test class to show how to set up and use the sleek inventory system for an inventory with a single page. |
TestInventoryController_SpawnItemInScene | Simple test class to show how to set up and use the sleek inventory system to interact with gameobjects. |