Item Slot Collection View (Equipment)
Use an Item Slot Collection View for fixed Equipment positions such as Right Hand. It displays and moves the underlying collection’s Item Stacks. A separate Equipper observes those changes and creates the character’s equipment models.
Create and bind the Equipment view
Prepare a player Inventory with Bag and an Equipment Item Slot Collection, purpose Equipped. Create one Item Slot Set with a Right Hand entry accepting Weapon. Iron Sword and Fire Wand belong to Weapon; Health Potion belongs to Consumable.
- Open Tools > Opsive > Ultimate Inventory System > UI Designer > Equipment > Create using a project-owned schema.
- Set Parent Transform and Panel Option. The creator initially uses Simple and panel name
Equipment Panel. - Assign the player’s Inventory, or leave it empty for the panel-owner binding.
- Assign the Equipment collection’s exact Item Slot Set asset and create.
- Confirm Item Collection ID resolves Equipment by purpose Equipped or its exact name.
- Map one non-null Item View Slot to every set entry, in the same order. Right Hand at set index
0must use view index0.
UI Designer creates/names the slots, supplies the schema’s Equipment Item View set and adds an Item View Slots Container Panel Binding. The collection, view and optional Equipper must share the same Item Slot Set asset; a duplicate with matching names is insufficient.

This sample uses the Right Hand Equipment set and its Weapons category. The view resolves the collection by its explicit Equipment name.

| View field | Default | Requirement |
|---|---|---|
| Item Collection ID | Name unset; purpose Equipped | Resolve an Item Slot Collection on the bound Inventory. |
| Set Item View Slot Restrictions | On | Apply the set’s categories during initialization. |
| Item Slot Set | None manually | Use the collection’s exact asset. |
| Add View Slot Category Restrictions | On | Supply category restrictions to mapped slots. |
| Item Slots Item View Slots | Sized to the set count | Assign every index without gaps. |
Inherited defaults include Slot Cursor ID 1, Draw On Enable Off, Draw On Inventory Update On and Swap Item View On Assign Off. The panel binding defaults to Bind To Panel Owner Inventory On and Bind To Inventory By Identifier 0. A direct Inventory reference takes priority; verify it when reusing a panel for another player.
Keep mappings and presentation compatible
Each Item Slot Set entry defines a Name and Item Category. Use unique names and non-null categories from the active database. Keep both automatic restriction options enabled and assign all mapped views before initialization, so every destination receives its intended category.
Slot dimensions come from the schema’s Equipment Item View prefab or generated RectTransforms. Item Slot Set supplies no per-slot visual size or stack limit; use Inventory restrictions for stack limits.
Connect the schema’s Item View Drawer, Content and empty/Weapon Item Views. Add an Item Action binding for Equip/Unequip and an Item Description binding for selected details. These bindings use the selected slot; the equip action owns the Bag-to-Equipment transaction.
Keep Select Slot On Open and Deselect Slot On Close enabled when opening should focus Equipment and closing should release it. Configure navigation for pointer, keyboard and controller. Each local player needs its own manager/input/EventSystem route and explicit Inventory ownership.
Move and replace equipment
Use the move Items workflow: Item View Slot Cursor Manager, Drop Handler, Drop Action Set and Drag Handler for pointer input, or Item View Slot Move Cursor for keyboard/controller movement.
The visible slot category and the underlying collection/Inventory restrictions both apply. Moving Iron Sword to Right Hand must change Bag and Equipment; a visual-only View swap does not equip anything. Within Equipment, a swap requires both slots to accept the other’s Item.
For an occupied destination, use an action/drop flow that confirms Bag can receive the replaced Item before mutation. Check complete requested amounts and the actual returned results; a positive capacity result alone can represent partial acceptance. Handle overflow deliberately rather than assuming the old Item will always return to Bag. Custom indexed collection calls must validate the requested destination’s category themselves.
The view redraws from collection changes. Equipper separately creates/removes models; attacks, statistics and gameplay behavior belong to Item Objects, actions and other project systems. See Equipping Items.

After equip, replacement, unequip and re-equip operations, Fire Wand occupies Right Hand. The displaced sword and all three potions remain in Bag.
Verify the full transaction
Open Equipment and confirm one visible slot per set entry. Equip Iron Sword from Bag: Bag loses it, Right Hand shows it and an assigned Equipper creates its model. Reject Health Potion without changing either collection. Replace Sword with Fire Wand and verify Sword returns to Bag, then unequip Wand. Repeat replacement with a full Bag and confirm the configured failure/overflow outcome preserves the intended items.
Test pointer/controller selection, description and actions. Save with Sword equipped, change equipment, then load: Sword should return to the same slot and both UI/model should update.
| Symptom | Check | Fix |
|---|---|---|
| Blank view or binding error | Collection ID, Inventory and Item Slot Set. | Resolve the correct collection and exact shared asset. |
| Missing or wrong-category slots | Set order, null mappings and category restrictions. | Assign every view and regenerate/reapply matching restrictions. |
| Item moves without an icon | Drawer and view references; redraw option. | Restore the schema references and draw the panel. |
| Icon changes without a model | Equipper ownership, collection, slots and prefab Attributes. | Configure the separate representation system. |
| Replacement loses the previous Item | Return capacity and overflow policy. | Preflight the full transaction and handle failure explicitly. |
| Loaded items use wrong positions | Changed collection/set order. | Restore compatibility or migrate saved indices. |
Save and developer reference
Use Inventory Saver for Equipment and the Inventory System Manager Item Saver when mutable/unique Item data also needs saving. Keep collection and Item Slot Set order compatible with existing saves; UI focus and pending drag state are transient. Network integrations authorize/synchronize the underlying Inventory transaction, then redraw and create local representations.
var rightHandView = equipmentView.GetItemViewSlot("Right Hand");
var rightHandSlot = equipmentView.GetItemSlot(rightHandView);
equipmentView.SetInventory(playerInventory);
equipmentView.ChangeItemCollectionId("Equipment");
equipmentView.Draw();
Mapping APIs include GetItemViewSlot(ItemSlot), GetItemViewSlot(string) and GetItemSlot(ItemViewSlot). ResizeItemViewSlotsToItemSlotsSetCount resizes references; it does not populate missing Views. SetItemViewSlotRestrictions applies categories. MoveItem swaps collection indices after mutual view acceptance.
Inherited select/deselect/click, pointer/drag, bind/unbind and draw events support custom UI. Unsubscribe custom listeners when their owner is destroyed or unbound. See Item Slot Collection for collection behavior and Item View Slots Container for shared settings.