Switch between multiple game views to achieve 2.2.3 effect
Add the script to Cameraswitch and select the game object to view the properties of the script component in the Inspector view. Set the Size property in cameras and shortcuts to 3, which in turn specifies main Camera, Camera1, and Camera2, which in turn specify 1, 2, and 3 as the attribute values for element0~3. 2-9 shows this article selected from the Unity game development Tips Collection .
Figure 2-9 specifying values for each property in the Script component
In unity, running this game, when you press the 1, 2, and 3 buttons on the keyboard respectively, the in-game view will take place with the keystrokes corresponding to the switch, 2-10 as shown in this article selected from the Unity game development Tips Collection .
Figure 2-10 the different game views that you see by pressing the corresponding key on the keyboard
Switch between multiple game views to achieve results