// Update is called once per frame
    void Start()
    {
        script = GetComponentInChildren<AvisadoresLife>();
        if(script){

            //Debug.Log("Encontro el script");
        }
    }
Example #2
0
 // Update is called once per frame
 void Start()
 {
     script = GetComponentInChildren <AvisadoresLife>();
     if (script)
     {
         //Debug.Log("Encontro el script");
     }
 }