Simple and effective, I like that! But I don't think dragging interface is the best choice for stick. I'd suggest you to try one big touchable invisible object around the stick's sprite and implement OnPointerDown/OnPointerUp. Then you can easily calculate stick offset direction from PointerEventData and clamp it to max stick length.This approach do not require players to put finger exactly on the stick button to start using the stick and gives you direct control over the area where the stick can be controlled.
Simple and effective, I like that! But I don't think dragging interface is the best choice for stick. I'd suggest you to try one big touchable invisible object around the stick's sprite and implement OnPointerDown/OnPointerUp. Then you can easily calculate stick offset direction from PointerEventData and clamp it to max stick length.This approach do not require players to put finger exactly on the stick button to start using the stick and gives you direct control over the area where the stick can be controlled.