I don't know why for the life of me I can't seem to make a simple button work for Onclick. I'm doing it exactly how the tutorials shows.
Latest version of Unity 4.6.1f1
I create a gameobject called Login Manager
attached the script below called login_manager to the game object Login Manager.
Create a canvas
Create a button as a child of canvas and name it Login Button
Drag Login Manager into Onclick
Select the function login in the drop down box.
I hit play and click the button and...
So simple but yet does nothing
Latest version of Unity 4.6.1f1
I create a gameobject called Login Manager
attached the script below called login_manager to the game object Login Manager.
Create a canvas
Create a button as a child of canvas and name it Login Button
Drag Login Manager into Onclick
Select the function login in the drop down box.
I hit play and click the button and...
So simple but yet does nothing