- Home /
Joystick not capturing clicks and drags
I want to convert the Unity's Survival Shooter game for mobile. I have added joystick using UI->Image and attached a Script to the Image. The class extends IDragHandler, IPointerUpHandler, IPointerDownHandler but none of the relevant functions respond except the Start() function
I also tried taking input from Unity remote app but no luck.
Unity's tutorial said to keep Canvas interactable to be unchecked. Now I have checked it for all of the elements. I have EventSystem in the Heirarchy and none of the UI elements are blocking the joystick. I tried sliding the Health Slider and it doesn't slide too.
I can't figure out what is wrong with this game and stuck here for about a week. Does Raycast Target have anything to do with this? Currently its checked for all the elements.
Your answer
Follow this Question
Related Questions
OnDrag OnPointerDown OnPointerUp does not work 1 Answer
Why can't I use the other buttons in the UI menu? 1 Answer
How can we import a canvas from unity 2020 into unity 2018? 1 Answer
unity 2017 UI Delay bug 0 Answers
Is it possible to configure raycast to hit opaque pixels without using alphaHitTestMinimumThreshold? 1 Answer