// Use this for initialization void Start() { myTransform = transform; targetScript = GetComponent<Zombie_Target>(); if(isServer) StartCoroutine(Attack()); }
// Use this for initialization void Start() { myTransform = transform; targetScript = GetComponent <Zombie_Target>(); if (isServer) { StartCoroutine(Attack()); } }
void Start() { myTransform = transform; targetScript = GetComponent <Zombie_Target>(); audioSync = GetComponent <AudioSync>(); if (isServer) { StartCoroutine(Attack()); StartCoroutine(Bellow()); } }