Пример #1
0
    public void AddPerson(ZombieController oldZombie)
    {
        StopCoroutine("SetZombieTarget");

        oldZombie.ChangeToPerson();
        Zombies.Remove(oldZombie);
        People.Add(oldZombie.gameObject);

        CheckLevelComplete();
        SetZombieNumUI();

        StartCoroutine("SetZombiesTarget");
    }