Exemple #1
0
 public void onClick()
 {
     if (isSelected)
     {
         ContoleDeInventario.instance.selectedSlot = null;
         currentItem.TxtAtributosLimpa();
     }
     else
     {
         ContoleDeInventario.instance.selectedSlot = this;
         currentItem.TxtAtributos();
     }
 }
Exemple #2
0
 public void onClick()
 {
     if (isSelected)
     {
         PlayerItensController.instance.selectedSlot = null;
         currentItem.TxtAtributosLimpa();
     }
     else
     {
         PlayerItensController.instance.selectedSlot = this;
         currentItem.TxtAtributos();
     }
 }