How to switch levels after multiple tasks completed?
Hello,
I'm only a few weeks experienced in Unity. I'm trying to make a light 3d puzzle-platformer where the objective is to return different colored cubes to a matching colored platform. I have 6 levels (6 spaces I made using Probuilder), and since they're relatively small I chose to keep them in the same scene. (This is also because I want to implement a BOTW-style Hero's Path where I keep track of their path and then display it to them at the end of the game - but that's a secret...)
I don't know how to teleport the player to the next level when they've returned multiple cubes. I currently have a trigger on the platforms that make the cube and platform glow white when they're matched, is there some way I add a counter to that? How could I get it to stop checking after they're done? Do I need to use an event system?
Thanks.
Your answer
![](https://koobas.hobune.stream/wayback/20220613020130im_/https://answers.unity.com/themes/thub/images/avi.jpg)