Sell WIP 2
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user