private IEnumerator ProcessFirstHalfAction() { yield return(YieldHelper.waitForSeconds(1000)); m_playerDinosaur.ProcessFirstAction(m_enemyDinosaur); m_enemyDinosaur.ProcessFirstAction(m_playerDinosaur); SetPlayerHPGauge(); SetEnemyHPGauge(); if (m_playerDinosaur.enableCounter || m_enemyDinosaur.enableCounter) { StartCoroutine(ProcessSecondHalfAction()); } else { StartCoroutine(ProcessTurnBattleResult()); } }