private void Update()
    {
        //if(attackBubbleChat != null)
        //{
        ShowAttackBubble();

        //}
        if (operatorObject)
        {
            attackBubbleChat.transition(operatorObject.transform.position);
        }
        AssignClock(photonPlayer);
        CheckTurn();
        if (action1 && action2)
        {
            UpdateActionCount();
        }
        StartTimeStop();

        if (Turn && !pause)
        {
            SelectCharacter();
        }


        if (endTurnPressed && Turn && !pause)
        {
            endTurnMessage.text = "End Turn \n" + (2 - (int)timer);
            timer += Time.deltaTime;

            if (timer >= 2)
            {
                EndTurn();
                ResetEndTurnButton();
            }
        }

        foreach (Transform bot in transform)
        {
            if (photonPlayer == PhotonNetwork.LocalPlayer)
            {
                if (bot.GetComponent <BotController>().isSelected)
                {
                    botSymbol.SetActive(true);
                    break;
                }

                botSymbol.SetActive(false);
            }
        }

        if (playerClock <= 1)
        {
            winner = false;
            GameManager.instance.photonView.RPC("EndGame", RpcTarget.AllBuffered);
        }
        if (endGame)
        {
            StartCoroutine(EndScreens());
        }

        if (!CheckActionCount())
        {
            EndTurn();
        }
    }