- Home /
Canvas: On hovering over Buttons: Wrong Buttons activated
First, I'm sorry about that title. Really, I have now clue how to explain my problem. That's why I can't google correctly.
Here's my problem: I make a small 2D Android Game and started with the UI of the Main Menu. You have 6 Buttons, the first two will lead to another scene, the other ones will open Text-fields for helping, credits etc.
Now when I'm in Play-Mode, I tried to click on these Buttons. But they seem a bit strange: The Targets seem to be in the wrong places. See the images for more Info (When Mouse hovering over Highlighted = Red).
In other words, the mouse is not at the same position as it means to be.
Does anybody have an idea how to fix my buttons? I put more photos down below. Thanks!
Answer by VKirschbaum · Jun 05, 2018 at 08:20 AM
Ok i fixed it. You need to look at the Button's Text-Components when you have the same problem. Mine were too big
Your answer
Follow this Question
Related Questions
Clickable object behind clickable HUD element with Unity UI 2 Answers
How can I select a UI element with a raycast from another UI element? 2 Answers
Camera does not render button 2 Answers
Canvas interaction on render texture to message PhysicsRaycaster 1 Answer
I can't see my button in Game View! 3 Answers