IEnumerator WaitToBuildNewTower(TowerBase toSwap, TowerBase newOne, Transform transform) { yield return(new WaitForSecondsRealtime(2.5f)); var newTower = Instantiate <TowerBase>(newOne, transform.position, transform.rotation); _towerManager.DoSwapTowerInitialization(toSwap, newTower); }