How to change camera view size on mouse drag?


I’d like to know if it’s possible in Unity to create a splitted UI or have 2 cameras side by side where the user can click on the middle of the two views, drag and expand/contract the views.
Like it happens in softwares like unity, photoshop, etc… where you can resize the tabs.
Or even if I can simply resize the camera view (pip) with mouse drag.

I’ve been trying to find this info, but simply can’t find anything similar to try to learn from.


This is what I need to do. :wink: