コード例 #1
0
 private void GameOneStepEightTap()
 {
     //End Game HERE
     overlay.HideFtueMessages();
     grid.ClearFtueHighlights();
     grid.CompleteFtueGame();
     overlay.ShowFtueSkipButton(false);
     ftueInformation.IsGameOnePassed = true;
     serverController.PersistFtue(ftueInformation);
 }
コード例 #2
0
        public void StartGameOne(GridController gridController, KeyboardController keyboardController)
        {
            print("Start FTUE game One");
            overlay = SceneActivationBehaviour <OverlayUISceneActivator> .Instance;

            grid     = gridController;
            keyboard = keyboardController;
            keyboard.SetKeyboardClickHandler(KeyboardFtueInput);
            grid.ResetFtueGrid();
            currentTarget = grid.GetFtueTargetAtIndex(34);

            overlay.ShowFtueSkipButton(true);
            overlay.ShowFtueGameplayMessage(Constants.FtueStrings.GameOneStringOne);
            overlay.SubscribeForFullScreenTap(GameOneStepOneTap);

            grid.HighlightRow(currentTarget.Index);
            grid.ShowArrowHighlight(27, FtueArrowDirection.Left);
            analyticsController.TutorialStepComplete(1, "OneRule");
        }