UI HUGE UPDATE
This commit is contained in:
@@ -11,11 +11,12 @@ public class bagItemPreviewPrefab : MonoBehaviour
|
||||
public Text itemDescription;
|
||||
public TextMeshProUGUI itemAmount;
|
||||
|
||||
public void Bind(Color backgroundColor, Sprite icon, string displayName, string usage, string description, string amountText)
|
||||
public void Bind(Color backgroundColor, Sprite backgroundSprite, Sprite icon, string displayName, string usage, string description, string amountText)
|
||||
{
|
||||
if (btm_img != null)
|
||||
{
|
||||
btm_img.color = backgroundColor;
|
||||
btm_img.sprite = backgroundSprite;
|
||||
btm_img.color = backgroundSprite != null ? Color.white : backgroundColor;
|
||||
}
|
||||
|
||||
if (profileImage != null)
|
||||
|
||||
Reference in New Issue
Block a user