Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

So simple but yet does nothing

$
0
0
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

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>