Camera limits by room

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Leomund

I am looking for a way to limit camera movement by rectangular areas within my scene. Each room can have different size. Like in Pro Camera 2d plugin for unity: Extension - Rooms - Pro Camera 2D - Unity Camera Plugin

:bust_in_silhouette: Reply From: kidscancode

This same question was posted earlier this week.