protected override void onDragEnd() { // 判断当前鼠标所在位置是否有窗口 Vector3 curMousePosition = mGlobalTouchSystem.getCurMousePosition(); txUIObject receiveWindow = mGlobalTouchSystem.getHoverWindow(curMousePosition, mComponentOwner as txUIObject); if (receiveWindow != null) { receiveWindow.onReceiveDrag(mComponentOwner as txUIObject); } mDragHoverWindow = null; }