To make TreasureControllerScript able to make one of the dig spots have treasure, we need a function for it to call that changes the value of the hasTreasure variable.

- Below your onTriggerEnter function, create a new function called setHasTreasure.
- Give that function a parameter called treasure of type boolean.
- In the function, set the hasTreasure variable to whatever the treasure parameter is (either true or false).