Switching between scenes, like from main menu to game and then to a game over screen (SOLVED)

What is the best way to do this?

I have currently setup a factory for game and load it in the main menu but I think this is not a nice way.

And also how do I delete the main menu?

I would recommend that you read up on and use collections and collection proxies for this type of thing. Put the main menu in one collection, the game in another, then have a main collection with a controller script and collection proxies to the menu and game and load/unload them as needed. Look at this thread for more details:

2 Likes

Hey thanks for your reply, i found the collection proxy after i posted this.

Thanks very much anyway!

1 Like