Unity3D Gameplay Camera Code Snippets for reference use. Used with Unity3D game engine in 2018, so might need some rework.
As code is removed from projects, the code is not usable as is. Code should however give reference on how to code gameplay cameras in Unity.