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