Esempio n. 1
0
    // Update is called once per frame
    void Update()
    {
        if (choosingState)
        {
            ChoosingUI();
        }

        if (!choosingState)
        {
            combatManager.attack = players[combatManager.currentPlayer - 1].canAttack;
            combatManager.CombatSystem();
            CheckDeath();
        }
    }