The Geometry Boundaries extension makes the camera “collide” with any 3D collider on the layer defined by the Layer parameter. This allows you to define camera boundaries using, for example, your level walls or any other 3D collider. Place your colliders with caution to prevent getting the camera stuck and avoid having the camera inside a collider on start. The colliders should be placed at Z = 0, if you’re using the XY axis, or the equivalent in case you’re using other axis.
Boundaries Layer Mask: The layers you want your camera to collide with