manage multiple scenes

how can I connect the behaviour of more than 1 scene, Im doing a simple 2d game but I dont know if I have to do one scene for the main menu and other scene for the game playing or can I do both in the same scene? if yes, wich elements have I to consider to order the components?

Your choice really.

If you want just one scene then start with the new uGUI as your menu when the game opens and just hide it when you go into play the game.

If you want more than one scene then you need to be able to access data like scored points between scenes.

Realistically you’ll likely need to save data when the game closes anyway.

As far as saving data goes, there are lots of ways. You could do worse than follow this tutorial, although it’s a few years old now.

Save Data