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.
Add button for update the GridTableAnchorSo in the AbstractGrid UI Unity.
Fix the AbstractGrid for clearing the grid UI when change the Grid
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.