private void EndDrag(GameObject gameObject)
 {
     //归零
     movementVector = Vector2.zero;
     //消失
     //UIManager.Instance.GetWindow<UISimpleTouchControllerWindow>().SetVisible(false);
     //事件
     touchPresent = false;
     TouchStateEvent?.Invoke(touchPresent);
 }
 private void BeginDrag(GameObject gameObject)
 {
     //中心位置记录
     _moveCenter         = Input.mousePosition;
     _joyCenter.position = _joyBg.position = _moveCenter;
     //显示
     //UIManager.Instance.GetWindow<UISimpleTouchControllerWindow>().SetVisible(true);
     //事件
     touchPresent = true;
     TouchStateEvent?.Invoke(touchPresent);
 }
 public void BeginDrag()
 {
     touchPresent = true;
     TouchStateEvent?.Invoke(touchPresent);
 }