对连杆进行尺寸标注,使其刚好在折叠之时到达切换位置。
The linkage is dimensioned so that the linkage reaches a toggle position just before it folds.
现在当玩家入入载具并想在位置切换界面利用鼠标滚轮切换位置时,鼠标滚轮能够正确的响应玩家的操作。
The mouse wheel will now respond to the input control if the player enters a vehicle and continues to switch positions using mouse wheel.
当松开鼠标按钮时,被拖动的元素和拖放到的目标元素就会互换位置,而且所有透明矩形也会消失,直到下一次切换。
When you release the mouse button, the dragged element and the drag target switch places, and all translucent rectangles disappear until the next swap.
应用推荐