Hello,
I have a button linked to a Walk function, in which my character walk to the left.
But with the UnityUI Event trigger i can only set it so that if i press it, it only runs once, because it’s on clicked of on pointer down, is there a way to set it to, on pressed so that it runs as long as it’s pressed?
here are my options:
Thanks for the answer Notter. It worked, but I have cases where I have a button that changes scenes to a scene where a different button is located in the same place as the original button. This method clicks through both buttons almost instantly.
Is there a way to force the user to pick his/her finger up and then press the button on the second scene instead of just registering the click on multiple scenes almost instantly.
P.S. This is only an issue on the actual device with touchscreen. On the unity simulator, there is no click through. It forces the user to unclick, then click again.