예제 #1
0
        private static Axis2DInputMethod DefaultCameraAxisValues()
        {
            var horAxis = new AxisInputMethod(UnityInputMethod.KeyCode, "", KeyCode.D, KeyCode.A);
            var verAxis = new AxisInputMethod(UnityInputMethod.KeyCode, "", KeyCode.W, KeyCode.S);

            return(new Axis2DInputMethod(horAxis, verAxis));
        }
예제 #2
0
        private static Axis2DInputMethod DefaultSelectionAxisValues()
        {
            var horAxis = new AxisInputMethod(UnityInputMethod.KeyCode, "Horizontal", KeyCode.RightArrow, KeyCode.LeftArrow);
            var verAxis = new AxisInputMethod(UnityInputMethod.KeyCode, "Vertical", KeyCode.UpArrow, KeyCode.DownArrow);

            return(new Axis2DInputMethod(horAxis, verAxis));
        }