Just as we saw in Chapter 7, Mission Two – Testing a Player's Learning, when we created
listData npcCondition which wrapped a list of GameObjects used to track racers in the race, we will need to create another type of wrapper in this mission; one for the initial score of the player. We can create this list with the following steps:
listData.csinto the folder named
Chapter9. Rename the copy
floatDataas shown in the following screenshot:
list<GameObject> _listDatavariable with the following line of code:
public float _floatData; ...