Could someone help me write some code in C#. I just need a code that lets me change a scene after I completed the objective and collide with the goal post, but its impossible to change the level until they complete the task. I already have the script for collecting objects and counting them I just need to check if they have all the objects to proceed to the next scene.
Thank you,
Jesse Perez

Answers
Know the answer? Post it. Somebody with the same question will find it here.