public void reacciona()
    {
        FollowIA inteligencia2 = GetComponent <FollowIA>();

        if (inteligencia2 != null)
        {
            inteligencia2.setVivo(false);
        }
        StartCoroutine(Muere());
    }
 void Awake()
 {
     player          = GameObject.FindGameObjectWithTag("Player");
     followAI        = this.gameObject.GetComponent <FollowIA>();
     cameraPokemon   = this.gameObject.GetComponentInChildren <Camera>();
     listenerPokemon = this.gameObject.GetComponentInChildren <AudioListener>();
     animatorPokemon = this.gameObject.GetComponent <Animator>();
     agente          = this.gameObject.GetComponent <NavMeshAgent>();
     ps = gameObject.GetComponentsInChildren <ParticleSystem>();
 }