using System.Collections; using System.Collections.Generic; using UnityEngine; public class InputManager { /// /// 앞으로 이동 /// public const KeyCode Forward = KeyCode.W; /// /// 뒤로 이동 /// public const KeyCode Backword = KeyCode.S; /// /// 왼쪽으로 이동 /// public const KeyCode Left = KeyCode.A; /// /// 오른쪽으로 이동 /// public const KeyCode Right = KeyCode.D; /// /// 아래로 이동 /// public const KeyCode Down = KeyCode.E; /// /// 위로 이동 /// public const KeyCode Up = KeyCode.Q; /// /// 카메라 선택 1 /// public const KeyCode SelectCamera1 = KeyCode.Alpha1; /// /// 카메라 선택 2 /// public const KeyCode SelectCamera2 = KeyCode.Alpha2; /// /// 카메라 선택 3 /// public const KeyCode SelectCamera3 = KeyCode.Alpha3; /// /// 카메라 선택 4 /// public const KeyCode SelectCamera4 = KeyCode.Alpha4; /// /// 카메라 선택 5 /// public const KeyCode SelectCamera5 = KeyCode.Alpha5; /// /// 카메라 선택 6 /// public const KeyCode SelectCamera6 = KeyCode.Alpha6; /// /// 카메라 선택 7 /// public const KeyCode SelectCamera7 = KeyCode.Alpha7; /// /// 카메라 선택 8 /// public const KeyCode SelectCamera8 = KeyCode.Alpha8; /// /// 카메라 선택 9 /// public const KeyCode SelectCamera9 = KeyCode.Alpha9; /// /// 카메라 선택 10 /// public const KeyCode SelectCamera0 = KeyCode.Alpha0; /// /// 자유 모드 선택 /// public const KeyCode SelectFreeMode = KeyCode.Z; /// /// 시나리오 모드 선택 /// public const KeyCode SelectScenarioMode = KeyCode.X; /// /// 다음 시나리오 /// public const KeyCode NextScenairo = KeyCode.UpArrow; /// /// 이전 시나리오 /// public const KeyCode PrevScenairo = KeyCode.DownArrow; /// /// 다음 모델 변경 /// public const KeyCode NextModel = KeyCode.RightArrow; /// /// 이전 모델 변경 /// public const KeyCode PrevModel = KeyCode.LeftArrow; /// /// 나가기 - 모드 선택 화면으로 이동 /// public const KeyCode Exit = KeyCode.F10; /// /// 도움말 /// public const KeyCode Help = KeyCode.F12; /// /// Color Picker 모드(누른 상태에서) /// public const KeyCode ColorPicker = KeyCode.LeftControl; public const KeyCode HideShowCursor = KeyCode.Escape; /// /// 특정 뷰 이동 /// 왼쪽 컨트롤을 누른 상태에서 동작 /// EX) LeftControl + SelectCamera1 /// public const KeyCode SpecialView = KeyCode.LeftControl; /// /// 프레임 표시/미표시 /// public const KeyCode ShowFrame = KeyCode.F; }