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

Add OnUpdateGrid inside GridTable #29

Closed RubensKj closed 1 year ago

RubensKj commented 1 year ago

Description

The idea is to remove all the logic from AbstractGrid from GridTable. On way to solve this dependency problem is to add a Action (Unity Event) OnUpdateGrid and execute when Pickup or Place item.

Implementation ideas

Instead of having a list of Abstract Grids, we're going to have an event, that will be triggered on place/pickup, and the Abstract Grids (that contains the Grid) will implement this event for refresh the UI.

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

/cc @rubenskj (grids,items,ux-ui)