Пример #1
0
    private bool AddTailToZombie()
    {
        GameObject zombie = Zombies[Random.Range(0, Zombies.Count)];

        ZombieWithTail = zombie.GetComponent <ZombieController>() as ZombieController;
        return(ZombieWithTail.AddTail());
    }