void setarParametros() { if (gui.EstaSelecionado(this) && c_habilidade.PodeComprar(habilidadeAssociada)) { Debug.Log("Comprando habilidade"); Comprar(); } Debug.Log("Setando parametros"); gui.SetarUI(habilidadeAssociada.GetNome(), habilidadeAssociada.GetDescricao(), habilidadeAssociada.GetCusto(), this); imagemDeSelecao.gameObject.SetActive(true); }