Esempio n. 1
0
    public override void Update()
    {
        cameraTransition.Tick();

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

        if (gameMode.IsNextTurnReady)
        {
            SetNextState();
            scoreChangeEvent.Raise(gameMode.PlayerGetPointsInTurn);
            gameMode.InitializeBallsForNextTurn();
        }
    }
Esempio n. 2
0
    public override void Update()
    {
        if (!cameraTransition.IsReached)
        {
            cameraTransition.Tick();
        }

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

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