Item Description
Item Description shows details for the ItemInfo supplied by an Inventory Grid, Equipment view, Hotbar or another container. A binding supplies the current selection; reusable View modules draw icons, amounts and Attributes without changing the item.


Bag selection supplies the fixed description through the direct Item Description reference. Selecting Iron Sword, Health Potion, then Iron Sword redraws the name and Description without changing Bag’s quantities. Use UI Designer’s Item Description workflow to create and locate the view.
Create and configure the description
- Open Tools > Opsive > Ultimate Inventory System > UI Designer > Item Description > Create with a project-owned schema.
- Keep Give Description a Panel enabled, its default, for a fixed panel or tooltip. Choose Item Description Preset > Standard, Small or Big; Standard is the default.
- Choose the parent and create. In Edit, configure the generated Item View Modules and their required text/graphic/Attribute references.
- Assign the core component’s text fields and exact string Attribute name below.
- Bind a container to supply ItemInfo. The generated Item Description Panel Binding initializes the panel-backed description; it serves a separate role from the selected-item binding.
| Core field | Default | Purpose |
|---|---|---|
| Description Attribute Name | Description |
Exact string Attribute lookup. |
| Item Name Text / Description Text | None | Required destination text references. |
| No Item Selected Message | No Item selected |
Name-area text after clear. |
| No Description Message | The item does not have a description |
Missing-string fallback. |
| Block Raycast And Interactable | Off | Cleared View’s Canvas Group interaction; keep off for a passive tooltip. |
Add category-specific detail
Use Icon Item View for the Icon Sprite Attribute, with Missing Icon and optional Disable On Clear. Amount Item View displays the supplied ItemInfo amount. Attribute Item View draws one named value with Default Text Value and optional clear-time object disabling.
For several rows, add Category Attribute View Set Item View Module and assign Attribute UI Parent plus category-to-Attribute-View mappings from the active database. A Weapon mapping can show Attack/Durability while Consumable shows its description. Every matching inherited category is processed, so avoid repeated Attribute mappings across parent/child categories unless duplicate rows are intended. Missing Attributes are skipped.
See Item View and Attribute Views for module customization. Keep every mapped prefab’s expected Attribute View component and value type compatible.
Bind the selected item
In UI Designer’s Item View Slots Container Binding section, assign the container and select Bind Item View Slot Container. Keep the resulting Item View Slot Container Description Binding on the container’s GameObject. Assign Item Description Panel or direct Item Description; a panel reference takes precedence.
| Binding option | Default | Effect |
|---|---|---|
| Hide If Selected Item Is Null | Off | Off clears but retains visibility; on closes/deactivates the destination. |
| Draw On Select | On | Follows keyboard/controller or pointer-driven selection. |
| Draw On Click | Off | Enables activation-driven redraw when desired. |
| Draw On Container Draw | On | Refreshes the currently selected slot with container redraws. |
| Clear On Deselected / Hide On Deselected | Off / Off | Choose whether deselection clears or hides prior content. |
The binding responds to selection and optional click. For raw pointer hover, configure pointer-driven slot selection or provide a custom hover binding that supplies ItemInfo.
Convert to a tooltip
With a panel-backed description selected in UI Designer, assign its container and choose Convert To Tooltip. Keep the description binding to supply content and Item View Slot Panel To Tooltip to position/show the panel.
Tooltip defaults enable Place On Select, Show On Select and Hide Show On Deselect; Place On Click / Show On Click start off. Configure Panel Bounds and Anchor Relative Offset, then test every Canvas edge. The passive foreground should allow pointer input to its originating slot.
Positioning a tooltip does not supply description content. Use both bindings and let the nonselectable Display Panel remain outside ordinary focus switching.
Refresh and verify values
The description reads the exact runtime item carried by ItemInfo, including mutable Attribute values. Refresh when that data changes by redrawing the container, reselecting the slot or calling Refresh(); Attribute changes alone do not subscribe this View to updates.
Select a potion, sword and another weapon: names/icons/details should replace old content and category rows. Select an empty slot and verify clear/hide messages. Change the selected weapon’s Durability, refresh and verify only its value changes. Close/reopen and check current selection, then navigate edge slots to verify tooltip bounds and input passthrough.
| Symptom | Check | Fix |
|---|---|---|
| Blank text or draw failure | Text references and string Attribute name/type. | Assign both texts and the correct Attribute. |
| Missing/wrong rows | Database categories, inheritance, names and Attribute View prefabs. | Use compatible mappings without duplicate rows. |
| Selection changes without details | Same-object container binding and target. | Bind the intended description; panel initialization alone is insufficient. |
| Mutable data stays stale | Refresh trigger. | Redraw, reselect or Refresh after the change. |
| Tooltip moves without new content | Separate content binding. | Connect the description binding as well as placement. |
Developer reference
ItemDescriptionBase.SetValue(ItemInfo) initializes and forwards to modules, clearing null items. Clear clears the value/modules; Refresh sets the current value again. Container-binding APIs include DrawDescriptionOfSelectedSlot, ClearDescription, bind/unbind methods and their event subscriptions. ItemViewSlotPanelToTooltip.PlacePanel handles position only. GetViewModule<T> and InvokeOnAllModules<T> support custom presentation.
Selection, generated rows and tooltip position are transient UI state. Save/synchronize authoritative Inventory and mutable Attribute data through the relevant systems, then refresh local descriptions after loading or network updates.