Redirect to the Docs main page.Docs

Configuration

Configuring Container Window

Learn how to configure the Container Window for your grid inventory UI in Ultimate Grid Inventory.

Configuring Container Window

The Container Window displays the Grid Inventory when you click the Open option. It includes a movable header and a close button.

Example of a Container WindowLoading image

When you select the Open option, this window appears, setting the grid on the content (GridParent RectTransform).

In this guide, we'll configure the Container Window for the new UI.

Opened Container WindowLoading image


Configuring the Container Window

Importing the Assets

Start by importing the background and icons for the Container Window. (If you have already done this while configuring the Inspect Window, you can skip this step.)

Background: Use the Sprite Editor to set up borders for proper resizing.

Changing ContainerWindow background with Sprite EditorLoading image

Icons: Import the icons for the window.

Showing the icons importedLoading image

Configuring the Component

Create the Container Window using the UGI Menu:

Right Click on Hierarchy > Ultimate Grid Inventory > Basic Window

Showing the UGI Menu for ContainerWindowLoading image

Set the Background Image:

Reference the background image you imported in the Image component.

Referencing the new image to ContainerWindowLoading image

Update the Icons:

Change the icons for the Icon and CloseButton GameObjects with the ones you imported.

After updating, the Container Window should look like this:

Showing the final window resultLoading image

Final Steps

Create the Prefab:

Drag the GameObject to the Project tab to create a Prefab.

Creating Container Window as PrefabLoading image

Reference the Prefab in Inventory Settings SO:

Referencing the ContainerWindow on the Inventory Settings SOLoading image

Now you have configured the Container Window with the new UI style!

You’ve completed all the configuration steps to make your inventory unique. You can return to the Setting Up the Inventory Settings SO to continue the tutorial.

Congratulations on completing the configuration!

On this page