Exemple #1
0
        public override void OnEnter()
        {
            if (targetCamera == null ||
                viewA == null ||
                viewB == null)
            {
                Continue();
                return;
            }

            CameraController cameraController = CameraController.GetInstance();

            cameraController.StartSwipePan(targetCamera, viewA, viewB, duration, speedMultiplier, () => Continue());
        }
        public override void OnEnter()
        {
            CameraController cameraController = CameraController.GetInstance();

            cameraController.StartSwipePan(viewA, viewB, duration, speedMultiplier, () => Continue());
        }