fixed first Shop Slot

started on shop switcher button (for animal shop)
This commit is contained in:
dhain 2022-06-23 15:01:13 +02:00
parent b0ab924037
commit acd602c85a
11 changed files with 286 additions and 143 deletions

View file

@ -73,7 +73,7 @@ public class ElementStorageSlot<T> : MonoBehaviour, IPointerEnterHandler, IPoint
* Clears the Element Storage Slot
*/
public virtual void ClearSlot() {
_element = default(T);
_element = default;
icon.sprite = null;
icon.enabled = false;
amountText.text = "";