출처 - 참고한 블로그 https://bloodstrawberry.tistory.com/686 유니티 - 드래그로 카메라 이동(Drag and Move Camera) Unity 전체 링크 메인 카메라에 스크립트를 추가한다. 테스트하기 쉽게 왼쪽의 Alt가 입력된 경우에만 카메라가 움직이도록 하자. void Update() { if (Input.GetKeyDown(KeyCode.LeftAlt)) isAlt = true; if (In.. bloodstrawberry.tistory.com 전체 코드 public class CameraTest : MonoBehaviour { float dragSpd = 30.0f; Vector2 clickPoint; void Awake() { // 카메라 배율 초기화 Camer..