Play exit

I have a main menu and it has 2 buttons play and exit. I have written the script but when i press play me levels doesn’t start.i have my main scene named as 2 and main menu as 1. So i have tried everything but 2 named scene doesn’t start when i press play. Please help. I am creating an open world game so i have only 2 scenes named 1 and 2. 1 for main menu and 2 for main game.

You asked yesterday about UI buttons. Several people provided you helpful advice to which you never responded.

You’ve asked [quite] [a] [few] [times] before about basic issues, and each time multiple people have pointed you in the right direction. Other than a single thank you, you haven’t responded to any of it. And I’m willing to bet you haven’t taken a single piece of our advice, either (going through the tutorials).

We’re not trying to tell you to do the tutorials to annoy you. We’re not saying it as a way of avoiding answering your questions. We’re saying it because it’s the best way to learn what you’re trying to do. Looking at the issues you’ve run into so far – all very basic stuff – what makes you think you’ll be able to make an entire open-world game? You’ll constantly be scratching your head and asking for help unless you actually learn.

On top of that, even if I did believe you’d gone through the tutorials, the way you’re asking questions makes it impossible to actually help you. You’re not showing your code (using code tags), you’re not responding to the people answering you with more information when requested, and you’re not demonstrating what you’ve tried and what, specifically, isn’t working the way you expect it to. So even if I was so inclined to waste my time by helping someone who doesn’t respect or appreciate the effort, I couldn’t!

Please. Go through the tutorials. Learn the basics before trying to do whatever it is you’re trying to do (a wrestling game, an open-world game, something about life-like cities…). As I told you before, if you can’t be bothered to do that, you’re going to find very quickly that people can’t be bothered to help you.

2 Likes

I have solved my problem on my own there was some quotes problem. By the way thank you for your advice.

If you require code I never post my codes on forum. I have learned a lot in unity but when I face some problem I ask about it for some help I don’t require any of your codes and always I write my own codes. My only problem is modelling othrr than that everything is going alright.

Solving problems without seeing the code in question is almost impossible. If you’re not willing to post the code then there isn’t much we can do to assist you.

Sorry for not using code tags I didn’t knew about them.

Ok I will post my code. The reason why I don’t post my codes is that I create very long codes and it is very hard to just post 100 lines in forums but from next time I will post.

We frequently post more than 100 lines. Just follow these instructions and you’ll have no problems.

1 Like

Thanks

I was studying for my exams so I was not able to reply all of ypur replies.