|
|
|
|
|
|
using System.Collections.Generic; |
|
|
|
using Unity.UIWidgets.foundation; |
|
|
|
using Unity.UIWidgets.scheduler; |
|
|
|
using Unity.UIWidgets.scheduler2; |
|
|
|
using Unity.UIWidgets.ui; |
|
|
|
|
|
|
|
namespace Unity.UIWidgets.gestures { |
|
|
|
|
|
|
_scheduleMousePositionCheck(); |
|
|
|
|
|
|
|
#if UNITY_EDITOR
|
|
|
|
_scheduleDragFromEditorMousePositionCheck(); |
|
|
|
//_scheduleDragFromEditorMousePositionCheck();
|
|
|
|
#endif
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
PointerExitEvent.fromMouseEvent(_lastMouseEvent[deviceId])); |
|
|
|
} |
|
|
|
#if UNITY_EDITOR
|
|
|
|
detachDragFromEditorAnnotation(annotation, deviceId); |
|
|
|
//detachDragFromEditorAnnotation(annotation, deviceId);
|
|
|
|
#endif
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
#if UNITY_EDITOR
|
|
|
|
_handleDragFromEditorEvent(evt, deviceId); |
|
|
|
//_handleDragFromEditorEvent(evt, deviceId);
|
|
|
|
#endif
|
|
|
|
} |
|
|
|
|
|
|
|