Mob spawn and start comming to me

Hi,
i will spawn a lot of zombies and then i will they running to me.

i’ve the problem, the the mob prefabs can not have a gameObject (in this fall my character) to look at and run on it bevore spawn …

i hope you understand what i mean and sry for my bad englisch :smiley:

You just have to give the player a unique tag, then assign the variable in Awake on the zombie’s script.

var mmmBrains : Transform;

Awake()
{
mmmBrains = GameObject.FindWithTag("Player").transform;
}