void screenMove(Vector3 touchPos) { if (!CraftingUI.isBuildingListSelect) { return; } Vector3 screenPoint = Camera.main.WorldToScreenPoint(touchPos); if (screenPoint.x > (screenWidth - screenWidth / 3.0f) && screenPoint.x < screenWidth) { camGO.moveToCam(0); } else if (screenPoint.x > 0.0f && screenPoint.x < screenWidth / 3.0f) { camGO.moveToCam(1); } if (screenPoint.y > (screenHeight - screenHeight / 3.0f) && screenPoint.y < screenHeight) { camGO.moveToCam(2); } else if (screenPoint.y > 0.0f && screenPoint.y < screenHeight / 3.0f) { camGO.moveToCam(3); } }