LevelLogicObj object will track the condition when the player has achieved a high score that is enough to earn the level finished pop up and to win the game. To implement this with the technology we already have, we will perform the following steps:
LevelLogicObj, set the number of interactions to
2. This is required because the
LevelLogicObjobject will process two interactions each frame.
LevelLogicObj. Drag-and-drop this into the first condition. Make sure there is only one instance of this script on this object in the editor.
LevelLogicObj. Drag-and-drop this into the second ...