how to change button state upon swiping and tapping?
Dear all,
I need some help on making a single button that changes state and appearance, either upon tapping or swiping it. the button stays in place, just that tapping it changes it to state 1 or the previous. and that swiping it changes it between 2 and 3. i managed to create the tapping function in c# (as a supreme noob), but i cannot find any hlp on a script to manifest the swiping function. i hope someone can help me, or point me into the right direction.
thanks in advance
selection-464.png
(22.6 kB)
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612201226im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How to differentiate between Swipe and Tap using Gear VR? 1 Answer
[Problem] Change 3DText color with C# script 1 Answer
Black unity theme? 2 Answers
Change lightmaps ar runtime 2 Answers
How do I turn "Surface Shader" on? 0 Answers