Changed ring and amulet, fixed bag switch color, v1.3.0

This commit is contained in:
Nicola Sovic
2022-07-02 17:41:43 +02:00
parent daae9b7469
commit 6631a9f9dc
8 changed files with 469 additions and 7 deletions

View File

@@ -67,10 +67,10 @@ namespace Assets.Scripts
{
if (currentBag != -1)
{
bags[currentBag].GetComponent<RawImage>().color = Color.white;
bags[currentBag].transform.Find("Selected").GetComponent<RawImage>().color = Color.white;
}
currentBag = index;
bags[currentBag].GetComponent<RawImage>().color = Color.cyan;
bags[currentBag].transform.Find("Selected").GetComponent<RawImage>().color = Color.cyan;
checkInventoryColors();
foreach(GameObject slot in slots)
{