Camera view window

Im trying to get the same functionality as this script

except that I want to have it work in game instead of in the editor. Any prefabs available on this? or any other resources to get it working?

Unless I’m missing something, you’re just trying to switch cameras in-game, yar?

If so, check out these answers. It’s just a matter of enabling/disabling the cameras.