Button being phantomly pressed
So i have to buttons in world space for the player to use. And for some reason when i press one of them the other one is detecting that is pressed a few seconds later.
I have no idea what is activating it as when it happens the player is on the other side of the map facing away from the other button.
Thanks in advance
Some example code of your buttons would help. However, if you're using buttons, then I'm assu$$anonymous$$g you're using some sort of variable or conditional statement to detect when it's pressed. I would sit down and follow the flow of your code, and makes sure one of your bools or conditionals isn't causing your other button to be active, and vice versa. Commenting is definitely good for avoiding situations such as these.
Your answer
Follow this Question
Related Questions
GVR reticle do not hover on buttons, and the click only work outside of button shape 0 Answers
I cant assign a function to a button. *free candy for whoever helps me out* 2 Answers
UI Button OnClick Only Works the First Time 2 Answers
How to do Unlockable Items for a Character Collection Clicker Game? How to disable buttons? 0 Answers
Does the sequence in which I keep the objects in a scene matter really? 1 Answer