Running on platforms is not enough for the prototype; we need to provide a player with a goal. Let's say that our prototype level is complete once the player has gathered a number of collectibles that we randomly scatter in the level.
To achieve that, we add a few lines to the
PlatManager script and create a new prefab to be instantiated as our collectible game object.
PlatManager script in Monodevelop and be ready to add the lines described here.
public Transform collectPref; ...