Before we can test our code properly, let's reflect on what we have done. While we have made our game framework more flexible and extensible, we have also broken some assumptions from before that need repairing as discussed in the following points:
The
MissionManager
class has been renamed toGame
. This means that all scripts that used to do aGameObject.Find("MissionManager")
need to be updated toFind("Game")
.We have separated some objects into the
MAIN
scene and some into theLEVEL1
scene. This means that objects that have a reference to an object that is now in another scene will be broken. To repair these, we need to modify the code for the object in the scene. SeeSetupSceneOne
for an example of this.