How to Make a main Menu
I am having trouble getting my main menu to work. I have been able to set up the buttons and canvas and all that but for some reason I cannot figure how to work the button on click function and just lost over what to do.
Answer by MFen · Jul 22, 2016 at 05:34 PM
Click on your button, in the inspector look for an area that says "OnClick", hit the plus sign, now drag in a gameobject that contains a script with a public method, this method now allows you to do stuff such as launch the game.
Your answer
Follow this Question
Related Questions
I can't use any UI elements in my Project 0 Answers
how to change the background image of all the scenes on single click of a button? 0 Answers
Button doesn't work and script doesn't switch Scenes 0 Answers
How to show and remove text before player has started the game? 1 Answer
New to the new UI (buttons) 2 Answers