private void leftMouseHoldRelease() { //Debug.Log("hold released"); SelectionBox sb = player.mHud.mSelectionBox; player.mSelectedList = sb.getSelection(); sb.setActive(false); }
private void leftMouseHeld() { //Debug.Log("mouse held"); SelectionBox sb = player.mHud.mSelectionBox; if (sb.isActive() == false) { sb.setActive(true); sb.setTopLeftCorner(mHoldMouseStart); } else { sb.setBottonRightCorner(Input.mousePosition); } }