- Home /
Beginner using Unity Playground Project: Can I end scene/game when a score is reached using the condition scripts?
Hello, I'm a UI designer that's new to using Unity and have been enjoying playing around with this Unity 'Playground Project' pack to make simple games with ready made scripts. Very handy as I don't yet know how to write code myself:
Link to Playground Project Info
I've made a simple collection game using the scripts available. When the player collects 3 items, a win message displays (see screengrab of UI component below). But after this has happened I would like to end the game and load a game over/retry screen (load a different scene I guess).
I am guessing that this might require some type of condition script that is perhaps connected to my UI script...I was able to successfully use the 'ConditionArea' script with the 'LoadLevelAction' script in a different game to change between level scenes when the player collides with a certain area. But for this game I want the scene to change when all items have been collected.
I would like to know whether this is possible using the scripts in this pack? If not, then it would be great to find some beginner level tutorials/documentation that might help me work out how to do this.
Thank you!