Use the UI Designer Currency tab to create a live Gold balance or a reusable view for a price, reward, or crafting cost. A Multi Currency View controls how each Currency is displayed; its data source determines whether the number represents the player’s balance or a value such as an Item’s Buy Price.

Before you begin

Confirm that:

  • the intended Inventory System Database is selected in Main Manager > Setup;
  • Gold exists in Main Manager > Currencies and has the Icon used by the UI;
  • Canvas Managers exist and a duplicated UI Designer schema has been spawned in the scene;
  • the player Inventory has a Currency Owner with a starting Gold amount; and
  • for a shop test, Health Potion has a CurrencyAmounts Item Definition attribute named BuyPrice that contains Gold, and the Shop’s Buy Attribute Name is also BuyPrice.

The exact BuyPrice name matters: the Shop looks up the Item attribute by the configured string.

Create a live Gold balance

  1. Open Tools > Opsive > Ultimate Inventory System > UI Designer.
  2. Select the Currency tab and open Create.
  3. Set Parent Transform to the Rect Transform that should contain the balance. It must be below a Display Panel Manager in the hierarchy.
  4. Choose Currency Owner Monitor and select Create. This schema option creates the monitor together with a Multi Currency View.
  5. On the Multi Currency View, confirm that Gold is paired with the intended Currency View. The Currency View supplies the amount text and can also display Gold’s Icon.
  6. On the Currency Owner Monitor, set Inventory ID to the player’s Inventory Identifier ID. Alternatively, assign Currency Owner directly and leave Inventory ID at 0 when the view should always use that reference.
  7. Position the generated object within its parent panel, then save the scene or prefab.

UI Designer Currency creates a Currency Owner Monitor under Inventory Canvas and edits the Gold Balance Multi Currency View.

Currency Owner Monitor uses Inventory ID zero, Player Inventory as Currency Owner and Gold Balance as Multi Currency View.

The generated monitor uses a direct Player Inventory Currency Owner reference and Inventory ID 0.

The monitor finds the Currency Owner through Inventory ID or the direct Currency Owner reference, draws its Currency Collection in the Multi Currency View, and listens for later Currency changes. A purchase or reward therefore updates the Gold number without a separate manual refresh.

Show an Item’s Buy Price

A Buy Price and a player balance are different data sources. Do not add a Currency Owner Monitor to a price-only view, because the monitor will replace the displayed value with the player’s balance.

For a shop:

  1. Set Health Potion’s BuyPrice to a Gold amount.
  2. Confirm that the Shop reads BuyPrice through Buy Attribute Name.
  3. In the UI Designer Shop tab, open Currency Displays and create the Total Price UI.
  4. Confirm that the generated Shop Menu references that Multi Currency View as its Total Price.
  5. Keep the separate Currency Owner Monitor visible when the player should see both the price and their remaining Gold.

The Shop Menu draws the selected Item and quantity’s total into its price view. The Currency Owner Monitor continues to draw the player’s current balance in its own view.

Choose the view type

UI Designer option Use it for Data source
Multi Currency View A standard balance, price, cost, or reward that can contain one or more Currencies The owning menu, view module, or another component draws a Currency Collection or Currency Amounts
Multi Currency View Small The same information in a more compact schema layout The owning menu, view module, or another component
Currency Owner Monitor A live player balance The Currency Owner resolved through Inventory ID or assigned directly
Currency View The visual for one Currency Amount, normally used within a Multi Currency View Its parent Multi Currency View

On a Currency View, enable Hide If Zero only when a zero amount should disappear. Assign Image when the Currency Icon should be shown; the Text reference displays the numeric amount.

Editor checkpoint

Before entering Play Mode, confirm that:

  • the Multi Currency View maps Gold to a Currency View with a valid Text reference;
  • the balance view and the Shop total-price view are separate when both are visible;
  • the Shop’s Buy Attribute Name matches BuyPrice exactly; and
  • the Currency definition, Item price, player Currency Owner, Shop, and UI all reference Gold from the selected database.

The native Currency Owner Monitor shows 45 Gold and zero Silver and Bronze after adding 50 Gold, spending 10 and awarding five.

This native monitor starts at 50 Gold, redraws after removing 10, then redraws at 45 after adding five. Silver and Bronze remain zero.

Verify in Play Mode

  1. Enter Play Mode and record the Gold amount on the player’s Currency Owner.
  2. Open the panel containing the Currency Owner Monitor and confirm that it shows the same amount.
  3. Open the Shop and select Health Potion. Confirm that the price view shows its BuyPrice in Gold, while the balance view still shows the amount the player owns.
  4. Change the purchase quantity and confirm that the Shop’s total price changes for that quantity.
  5. Buy Health Potion and confirm that the balance decreases by the displayed total and refreshes immediately.
  6. Try the purchase without enough Gold and confirm that the transaction does not change the displayed balance.

Troubleshooting

  • Create is disabled: Check Parent Transform. It must be a Rect Transform with a Display Panel Manager on an ancestor.
  • The view is empty: Check that the Multi Currency View maps Gold to a Currency View and that the Currency View has a valid Text reference. Then check that a monitor or owning menu supplies the amount.
  • The balance is zero or belongs to the wrong player: Check that Inventory ID matches the player’s Inventory Identifier ID, or assign the intended Currency Owner directly. An Inventory ID of 0 does not perform an ID lookup.
  • The balance changes in data but not on screen: Check that the Currency Owner Monitor references the intended Multi Currency View and that both components remain active. The monitor listens for Currency Owner updates and redraws the view.
  • The Shop price is missing or zero: Check that BuyPrice exists as a CurrencyAmounts Item Definition attribute, contains Gold, and matches the Shop’s Buy Attribute Name exactly.
  • The price view shows the player’s balance: Check whether a Currency Owner Monitor was added to the price view. Remove that monitor and let the Shop Menu draw the total price instead.
  • The amount is visible but the Gold icon is missing: Check Gold’s Icon and the Currency View’s Image reference.
  • Gold disappears when its amount reaches zero: Check Hide If Zero on the Currency View and disable it when zero should remain visible.

Related: