Game Development Reference
In-Depth Information
For testing purposes, I made the achievement level variables public and set them to
various values. Drag the script onto the camera, remove the stats script, and set the
showAchievements
Boolean value to
true
. If you run the scene, you should see
the following results:
You will probably have slightly different results, based on what you assigned each of
the achievement level variables.