Redirect to the Docs main page.Docs

Items Sounds

Setup AudioCueSo for Your Item

Learn how to set up Audio Cue SO to manage audio playback for items when picked or placed in the Ultimate Grid Inventory.

Learn How to Setup Your Audio Cue SO

Audio Cue SO is used in conjunction with the ItemDataSO, which is the Scriptable Object (SO) representing an item in the game. By setting the Audio Cue SO property within the Item Data SO, you can specify audio to be played when an item is picked or placed within the Grid Inventory or Holder.

The Audio Cue SO contains two key properties: On Being Placed and On Being Picked.

Creating Your Audio Cue SO

To create an Audio Cue SO:

  1. Right-click in a folder within the Project tab.
  2. Select Create > Inventory > Audio > Audio Cue.

Creating Audio Cue So in the Unity EditorLoading image

After creating the file, you need to configure the properties:

Configuring the Audio Cue So file in the Unity EditorLoading image

Understanding the Properties

  • On Being Placed: This property references the Audio State SO that will be executed when the player places an item inside a Grid Inventory or Holder.
  • On Being Picked: This property references the Audio State SO that will be executed when the player picks an item from a Grid Inventory or Holder.

By configuring the Audio Cue SO, you can ensure that the correct audio feedback is provided for item interactions, enhancing the overall player experience in the Grid Inventory system.

On this page