Camera Control - Unity Learn
Part 3 of the Unity Tanks project teaches you how to create a Camera which pans and zooms to keep all tanks onscreen at once.