Same tables, but one is at the back so panel covers it, and the other is in front of the panel so the panel can be used as a background.
tables are also panels, and if one panel is active, no other panels are to be so draw calls and so.
But I want to use the particular panel in front of the table so the table comes in front of the panel. I changed the depth of the background sprite in the panel but it does not change a thing.
So, what is determining the table depth? They are both prefabs, and I will of course make them different later on, but it does not seem to have anything to do with prefab but the code that uses the prefab. If I change the link so that a to 1 and b to 2 become b to 1 and a to 2, the result is the same. So it is the code, not the prefab.