Пример #1
0
    IEnumerator DoSecondStopWait()
    {
        yield return(new WaitForSeconds(2.5f));

        terroristScript0.TurnToPlayer();
        terroristScript1.TurnToPlayer();
        typerScript.LoadNewEnemies(enemiesSecondStop);
    }
Пример #2
0
    void DoFirstStop()
    {
        Debug.Log("called first");
        goToNextStopPoint = false;

        foreach (var item in zombieScriptsFirst)
        {
            item.EnemyHere();
        }

        typerScript.LoadNewEnemies(enemiesFirst);

        globalSelector++;
    }
Пример #3
0
    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++;
    }
Пример #4
0
 void DoThirdStop()
 {
     goToNextStopPoint = false;
     terroristScript0.TurnToPlayer();
     terroristScript1.TurnToPlayer();
     typerScript.LoadNewEnemies(enemiesSecondStop);
     globalSelector++;
 }
Пример #5
0
 void DoFirstStop()
 {
     goToNextStopPoint = false;
     Debug.Log("called first");
     jungleCommandoScript0.EnemyHere();
     jungleCommandoScript1.EnemyHere();
     typerScript.LoadNewEnemies(enemiesFirstStop);
     globalSelector++;
 }
Пример #6
0
    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++;
    }