示例#1
0
    public void EndDrag()
    {
        touchPresent   = false;
        movementVector = joystickArea.anchoredPosition = Vector2.zero;

        DragStateEvent?.Invoke(touchPresent);
    }
示例#2
0
 public void BeginDrag()
 {
     touchPresent = true;
     DragStateEvent?.Invoke(touchPresent);
 }