Ejemplo n.º 1
0
    private IEnumerator ProcessSecondHalfAction()
    {
        yield return(YieldHelper.waitForSeconds(1000));

        m_playerDinosaur.CounterDefence();
        m_enemyDinosaur.CounterDefence();

        m_playerDinosaur.ProcessSecondAction(m_enemyDinosaur);
        m_enemyDinosaur.ProcessSecondAction(m_playerDinosaur);
        SetPlayerHPGauge();
        SetEnemyHPGauge();
        StartCoroutine(ProcessTurnBattleResult());
    }