Exemplo n.º 1
0
    // Start is called before the first frame update
    void Awake()
    {
        habilidadesGeraisInimigo_ref = GetComponent <HabilidadesGeraisInimigo>();

        if (cascudo.gameObject.activeInHierarchy == true)
        {
            cascudoArmadura_ref = GameObject.Find("Cascudo").GetComponent <CascudoArmadura>();
        }
    }
 private void Awake()
 {
     habilidadesGeraisInimigo_ref = GetComponent <HabilidadesGeraisInimigo>();
 }