rushassets / ultimate-grid-inventory-demos

Repository containg the Ultimate Grid Inventory demos and their issues
https://www.rushassets.com/products/ultimate-grid-inventory
MIT License
2 stars 0 forks source link

Improve the input/draggable system #27

Closed RubensKj closed 1 year ago

RubensKj commented 1 year ago

Description

Improve the input/draggable system in order to make easy to swap features and also make them with scriptable objects.

Implementation ideas

Create a chain of responsibility of middlewares with SO and also the Provider with a SO, so we can have multiple providers, in case we want to the change the draggable provider considering we are in another part of game... Like we access the store inventory page, we don't want the user to insert items inside the container...

This structure might work...

Edit: This video might found a useful method of solving this problem: https://www.youtube.com/watch?v=pOEyYwKtHJo&ab_channel=aarthificial

rush-github-bot[bot] commented 1 year ago

/cc @rubenskj (asset-core-system,item-containers,items,kind-enhancement)