// Start is called before the first frame update void Start() { agent = GetComponent <NavMeshAgent>(); target = GameObject.FindGameObjectWithTag("player").transform; dano = GetComponent <TomaDano>(); snare = GetComponent <Snared>(); }
// Start is called before the first frame update void Start() { snare = GetComponent <Snared>(); dano = GetComponent <TomaDano>(); }