Button in one panel affects another?
I have 2 panels inside 1 canvas. The first panel is filled in a Start() function with buttons. However whenever there is a button in the second panel, whether is was added statically or dynamically, the buttons in panel 1 cannot be pressed. In fact, pressing them invokes the On Click() functions for the button in panel 2. I cannot press anywhere else to invoke the On Click() functions, except for the buttons in panel 1. Although all of the buttons inherit from the same prefab, that is not the issue as the problem persists even with different prefabs.
Below is a link to my project, feel free to try anything you want with it.
https://www.dropbox.com/sh/egx4nft9o6hkmnd/AAAKL-CKGOGnpSPL3RwQol8ga?dl=0
Answer by ritoban · Aug 20, 2016 at 12:13 AM
Never mind. I found that my panel 2 was scaled to make it smaller, which resulted in the button's text being squished. I scaled up the button's text (bad idea), which is why it was covering the buttons in panel 1.
jajajajajajaja he is going to ask you if you happened something, jajajajajajajajaja
Your answer
Follow this Question
Related Questions
Button becomes unclickable if it is in the panel 0 Answers
UI in World Space doesn't respond 1 Answer
How to find an UI button by name? 2 Answers
Manipulate ui canvas button hitbox 2 Answers