#Code channel. Created a thread to not spam the beginner code channel.
1 messages · Page 1 of 1 (latest)
So just to be sure, select the three buttons and show an image of the the inspector with three buttons highlighted.
Show your !code
📃 Large Code Blocks
Use links to services like:
https://gdl.space/, https://paste.ofcode.org/, https://hatebin.com/, https://paste.myst.rs/, https://hastebin.com/
📃 Inline Code
Surround code with three backquotes. Not quotation marks.
To format as C#, add cs to the first line:
```cs
// Your code here
```
Add a comment with a line number if there is an error message.
You're supposed to drag the main menu into the button
You tried to drag the button into itself, instead
I'm sorry I'm new to this , what exactly do I do then ?
Select the play button to show it's inspector then drag the main menu object (not a single click but rather a drag) from the hierarchy into the play button's onclick
Hoo boy, this was more of a challenge I wanted to do myself, was getting tight on time near the end.
I wanted to try to show how to setup something every game needs, a main menu, in as concise of a way as possible in a Unity Tutorial. I also tried to explain additional things like general UI advice in Unity, as well as Scene management (loadin...
- Select the three buttons
- Add an on click method to all of them (because they are all selected)
- Drag the main menu from the hierarchy into the onclick field
- Select the play button now and select the appropriate function
Watch the video shown above. It's timestamped to the correct part.
Don't select the main menu button, just drag it. If you select it, the inspector will change to show it's content and you'll not see the button stuff anymore.
How do I select it without clicking on it
Hold the button instead of using a single click
It'll select it if you release the button
You don't want to select the main menu object.
You want to drag it into the three button's field
I think I got it
Just let me see if it works
I know you already helped me a lot , but there is just one last thing
Show a picture of your button's inspector. Specifically the button component.
You should use Discord on your laptop to capture the images or videos.
You can either use the app or the web browser.
I'm sorry to ask I know this sounds dumb but
How do I find button inspector
Hang on I think I got it
I think it might be because my game is a fps so the mouse can't really move
So that's whats stopping me from using the menu correctly
I'm not sure. If you've got any non coding concerns, try asking #💻┃unity-talk
Alright then I will ask