Answer the question
In order to leave comments, you need to log in
Is it possible to track the click of a ButtonUI button in Unity without triggering the onclick() method?
Hello, is it possible that when the Button is pressed, the onclick() method does not work.
For example: when I hold down the button istrue = true, but when I release the button onclick() didn't work. And vice versa, so that when I press the button, the clamping method does not work (istrue = true).
Answer the question
In order to leave comments, you need to log in
Can you duplicate questions?
It is enough to think with your head - how does clicking (pressing and releasing) differ from pressing and releasing? And implement the detection of this difference in your code.
So the answer to the question is yes, it is possible.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question