In this section, we are going to prepare our new level3 scene in two parts—the first part of our game will have some three-dimensional art assets for the player to potentially collide with. Also, the environment will be used for our new fleeing enemies. The second part of this section is used to upgrade our camera's behavior so that instead of it being static, we now require it to move across the level. The player will also be given the same fixed speed as the camera.
By the end of this section, we will have an environment set up as in the following screenshot:
The arrow going from left to right in the previous screenshot shows the path of the camera. Once it reaches a particular point, it will stop and the level will end shortly after.
It is worth mentioning that within the level3Env prefab is a game object that holds a script called BossTrigger. This game object contains a box collider...