IEnumerator GoThrough(GameObject alien) { _playerTools.ThroughTube(alien, true, _destination); yield return(new WaitForSeconds(_duration)); _playerTools.ThroughTube(alien, false, _destination); }
IEnumerator GoThrough(GameObject alien) { _playerTools.ThroughTube(alien, true, _destination); yield return(new WaitForSeconds(_duration)); _playerTools.ThroughTube(alien, false, _destination); }