Implemented tooltips when hovering over an item

Added some placeholder images for the items in the game
made small adjustments to grapple
This commit is contained in:
Melbyj1125
2022-01-31 08:05:17 -06:00
parent 3b451b97e9
commit 7526d16f75
17 changed files with 585 additions and 17 deletions

View File

@@ -68,7 +68,7 @@ public class InvSceneSettings : MonoBehaviour
//Changes Button Texts
iOpt.transform.Find("Name").GetComponent<Text>().text = item.Value.itemName;
iOpt.transform.Find("Cost").GetComponent<Text>().text = item.Value.costM.ToString();
//iOpt.GetComponentInChildren<Image>() = item.image; // IMPLEMENT WHEN ITEM OBJECT CONTAIN IMAGE REFERENCE
iOpt.transform.Find("ItemImg").GetComponent<Image>().sprite = item.Value.itemSprite; // IMPLEMENT WHEN ITEM OBJECT CONTAIN IMAGE REFERENCE
index++;
}