IEnumerator DoSecondStopWait() { yield return(new WaitForSeconds(2.5f)); terroristScript0.TurnToPlayer(); terroristScript1.TurnToPlayer(); typerScript.LoadNewEnemies(enemiesSecondStop); }
void DoFirstStop() { Debug.Log("called first"); goToNextStopPoint = false; foreach (var item in zombieScriptsFirst) { item.EnemyHere(); } typerScript.LoadNewEnemies(enemiesFirst); globalSelector++; }
void DoFirstStop() { Debug.Log("called first"); AudioSource.PlayClipAtPoint(firstStopAudio, controllerScript.character.position, 1f); goToNextStopPoint = false; foreach (var item in lightScript) { item.EnemyHere(); } typerScript.LoadNewEnemies(enemiesFirst); globalSelector++; }
void DoThirdStop() { goToNextStopPoint = false; terroristScript0.TurnToPlayer(); terroristScript1.TurnToPlayer(); typerScript.LoadNewEnemies(enemiesSecondStop); globalSelector++; }
void DoFirstStop() { goToNextStopPoint = false; Debug.Log("called first"); jungleCommandoScript0.EnemyHere(); jungleCommandoScript1.EnemyHere(); typerScript.LoadNewEnemies(enemiesFirstStop); globalSelector++; }
void DoSecondStop() { Debug.Log("called second"); goToNextStopPoint = false; //zombies start to chase zombieScript0.EnemyHere(); zombieScript1.EnemyHere(); zombieScript2.EnemyHere(); zombieScript3.EnemyHere(); zombieScript4.EnemyHere(); zombieScript5.EnemyHere(); typerScript.LoadNewEnemies(enemies); globalSelector++; }