I’m sorry if this is covered somewhere else but I can’t find it. I am seeing tons of tutorials for Unity 4.6 and some for 5 with the new UI system and the button options look like this in unity:
But when I add a UI button in the canvas I get options like this:
Why does my OnClick look different and how can I use this OnClick? Say I create a function in JS:
function QuitGame(){
Application.Quit();
}
Where can I add this function option to a button? I see how many people do it in the first picture with the tutorials but I don’t see my version of the Unity interface being used at all. Is this a Pro vs Private version difference?