Example #1
0
    IEnumerator GoThrough(GameObject alien)
    {
        _playerTools.ThroughTube(alien, true, _destination);

        yield return(new WaitForSeconds(_duration));

        _playerTools.ThroughTube(alien, false, _destination);
    }