Ultimate Grid Inventory is a template inventory to plug and play in your game. Is based in Scriptable Objects Events to make easy to implement new feature!
We develop an audio system based in scriptable objects.
AudioSo
: Holds the audio settings for a AudioClip.
AudioStateSo
: Holds the AudioSos, so you can add multiple audios in order to have a random or sequence of a clip each time it will be executed to be more enjoyable for ears!
AudioCueSo
: Holds two AudioStateSo, onBeingPlace
and onBeingPicked
. Used in the Draggable Controller to add audio during the actions.
The Options System
was refactored to scriptable objects. It's easier to add options to items. Just create a scriptable object of OptionSo
and add in the ItemDataSo
options
prop
Added a Inventory Audio Controller
in the InventoryManager
prefab and also an Audio Source as a child to link the the dependency from script. (Easy to add your own audio source)
A few changes was made in Draggable Controller
, just to trigger the onBeingPlace
and onBeingPick
. The audios also apply to equip/unequip in Container Holders
Added some wav files to add audios to default items
Take a look on previous changelogs from this asset.
New User Interface to the Ultimate Grid Inventory and some refactors in the Item Holder Script and also in the Window Script.
Fix container issue when placing one inside another.
A audio system to the Ultimate Grid Inventory has arrived! Now you can preset two type of audios, on place and on pick. And refactor in Options System to scriptable objects.