I have a large dial which can be rotated by touch. I have a circular crosshairs at the top to show which number is selected. I have had to turnoff the
Raycast Target on the crosshairs because it was stopping the dial rotation when the when the finger touch was moving over it.
My problen now is that when the desired number is selected in the crosshairs I want to be able to tap the crosshairs to go to that level. Is it possible to detect the tap on the crosshairs?
Here is the code I have attached to the dial for rotation.The crosshairs is the very next
GameObject in the hierarchy.
public void OnDrag(PointerEventData eventData)
//CHECK IF CAN DRAG
transform.rotation = finalRotation;