As I understand it, the Z axis is responsible for the rendering position of the object in relation to the camera/other objects, and layer collision only checks if an object collides based on the x/y position.
For example; I have a Ball on z = 5. I have a box on z = -5. I have the ball on a layer called "Ball". I have the box on a layer called "Box". As long as the check box that intersects Ball and Box is ticked in the collision manager, they will always trigger a collision regardless of the difference in their Z axis.
Is this correct? Does the layer collision manager simply ignore the Z axis in a 2D environment?
I've tried looking for documentation that more fully explains how the layer collision manager works, but I've only been able to find unity's own documentation that doesn't explain how xyz coordinates interact with layer collisions, if at all.