Redirect to the Docs main page.Docs

Configuration

Configuring Tile

Guide on setting up and configuring TileSpecSO for tile sizes in Ultimate Grid Inventory.

Configuring TileSpecSO

TileSpecSO is the scriptable object that defines the size of tiles in your inventory grid. This setting determines the visual dimensions of each slot in your inventory.

Creating a TileSpecSO

To create and configure a TileSpecSO:

  1. In your Project window, right-click in your desired folder
  2. Select Create > Inventory > New TileSpecSO

Creating TileSpecSOLoading image

  1. Set the tile size values in the Inspector panel

Configuring TileSpecSOLoading image

Referencing the TileSpecSO in InventorySettingsSO

After creating your TileSpecSO, you need to reference it in your Inventory Settings:

  1. Open the InventorySettingsSO you created in the Setting up the Inventory Settings section
  2. Assign your TileSpecSO to the "Tile Spec SO" field

Referencing the TileSpecSOLoading image

Understanding the Tile Grid Helper SO

The "Tile Grid Helper SO" is the second property in this section. This utility component:

  • Calculates cursor positions when players interact with the grid
  • Handles the logic for determining which grid cell the cursor is hovering over
  • Helps identify items at specific grid positions
  • Provides essential functionality for drag-and-drop operations

This component is automatically created and configured when you initialize the inventory system, so you typically won't need to modify it directly.

That's it! You've configured the tile size for your inventory grid. If you need to change the dimensions later, simply adjust the values in your TileSpecSO.

Now you can proceed to the next configuration step!

On this page