示例#1
0
 void MostrarBtnsDeCompraEVenda()
 {
     btns.btnMelhorar.interactable  = true;
     btns.btnVender.interactable    = true;
     btns.textoDoBotaoMelhorar.text = MelhoraEquipamento.TextoDeMelhora(slotes[selecionado].EquipamentoNoSlote);
     btns.textoDoBotaoVender.text   = "Vender esse equipamento por: \r\n" + slotes[selecionado].EquipamentoNoSlote.ValorDeVenda + " Moedas";
 }
示例#2
0
 public void BotaoMelhorar()
 {
     if (MelhoraEquipamento.Melhorar(
             slotes[selecionado].EquipamentoNoSlote,
             umaMensagem,
             transform.parent.gameObject,
             ReligarBotoes))
     {
         FindObjectOfType <ControladorDaHUD_Equipamentos>().AtualizaNivelDoEquip(slotes[selecionado].EquipamentoNoSlote);
         AtualizaSlotes();
     }
 }