mirror of
https://github.com/Leahnaya/TheKingsRace.git
synced 2026-08-26 12:24:15 -05:00
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:
@@ -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++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user