Hello i am new and i dont know very much script. I was wonder how can i make a script that can collect 8 pages and when you take the last page quit game.
Thanks for reading.
Whatever ‘page’ and ‘wall’ means, you count them up with day-one programming. If the count reaches 8 you call Application.Quit(), but you probably want a final bit of ‘congratulations’ to appear first. That can be in the same scene or you can load another scene that says that.