Sell WIP 2

This commit is contained in:
2022-05-19 16:33:26 +05:30
parent e1d543c78b
commit b83b8dda29
2 changed files with 10566 additions and 765 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -13,6 +13,17 @@ public class SellMenu : MonoBehaviour
[Header("Content")]
public Transform inventoryParent;
public Sprite emptySlotImage;
[Header("Your Request Material Setter")]
public GameObject yourReqPopup;
public TMP_InputField coinsInput;
public TMP_InputField gemsInput;
public TMP_InputField oxygenInput;
public TMP_InputField metalInput;
public int coinsAmount;
public int gemsAmount;
public int oxygenAmount;
public int metalAmount;
void Start()
{
Refresh();
@@ -45,4 +56,20 @@ public class SellMenu : MonoBehaviour
}
}
}
public void ShowMaterialAmountSetter(){
}
public void CloseSellMenu(){
gameObject.SetActive(false);
}
public void Clear(){
metalAmount = coinsAmount = oxygenAmount = gemsAmount = 0;
// selected
Refresh();
}
}