Quantcast
Channel: Answers by "RedDevil"
Viewing all articles
Browse latest Browse all 92

Answer by RedDevil

$
0
0
Since i could not really find a good way to do this with PointerEventData i just changed my code so that i can achieve what i was after. The way I solved the problem is by changing on PointerDown to call a coroutine of a new method called movement where i just do a yield wait for seconds and do the movement on a loop and then i changed OnPointerUp to stop that coroutine when the joystick is not pressed.

Viewing all articles
Browse latest Browse all 92

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>