예제 #1
0
 public override void Update()
 {
     cameraTransition.Tick();
     if (cameraTransition.IsReached)
     {
         SetNextState();
     }
 }
예제 #2
0
    public override void Update()
    {
        cameraTransition.Tick();

        if (cameraTransition.IsReached)
        {
            if (!MainMenu.activeSelf)
            {
                MainMenu.SetActive(true);
            }
            StopThisState();
        }
    }
예제 #3
0
    public override void Update()
    {
        cameraTransition.Tick();

        if (startTime > Time.time)
        {
            return;
        }

        if (gameMode.IsNextTurnReady)
        {
            SetNextState();
            scoreChangeEvent.Raise(gameMode.PlayerGetPointsInTurn);
            gameMode.InitializeBallsForNextTurn();
        }
    }
예제 #4
0
    public override void Update()
    {
        if (!cameraTransition.IsReached)
        {
            cameraTransition.Tick();
        }

        if (startTime > Time.time)
        {
            return;
        }

        if (gameMode.IsNextTurnReady)
        {
            SetNextState();
            gameMode.InitializeBallsForNextTurn();
        }
    }