Hello, I'm having an issue with buttons. I've used them before, in other projects, without issue, but now I'm having some trouble. The button fades colour when clicked, but the OnClick event is not fired.!
Answer by hexagonius
Mar 19 at 05:09 PM
when you look closely it says missing in your button OnClick event. you either renamed it or restricted it's access to protected or private
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
To help users navigate the site we have posted a site navigation guide.
If you are a new user to Unity Answers, check out our FAQ for more information.
Make sure to check out our Knowledge Base for commonly asked Unity questions.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
Answers and Comments
144 People are following this question.
Change UI Buttons Focus Order
Runtime Click Listener Addition
Issue adding UI Button Unity 5
Unity UI Button behaviour changes in WebGL
Unity 5 Controlling Animation with UI Button