示例#1
0
        public bool HandlePinchEnd()
        {
            if (cameraService.zoom < gameConfig.cameraZoomRange.min)
            {
                cameraService.LerpZoom(gameConfig.cameraZoomRange.min, 0.5f);
            }
            else if (cameraService.zoom > gameConfig.cameraZoomRange.max)
            {
                cameraService.LerpZoom(gameConfig.cameraZoomRange.max, 0.5f);
            }

            return(false);
        }