cptscrimshaw
Member
Hi there!
I've been messing around with trying to show an exclamation point on newly acquired items in the inventory, but I'm having trouble drilling down to the actual item. I added a gameobject to the ItemView that I'd like to be able to turn on and off based on the ItemInfo:
Currently listening to the OnItemAmountAdded event with:
What would be the best way to get the item slot that contains that ItemInfo from within the inventory?
Thanks as always for the great support!
I've been messing around with trying to show an exclamation point on newly acquired items in the inventory, but I'm having trouble drilling down to the actual item. I added a gameobject to the ItemView that I'd like to be able to turn on and off based on the ItemInfo:
Currently listening to the OnItemAmountAdded event with:
C#:
Opsive.Shared.Events.EventHandler.RegisterEvent<ItemInfo, ItemStack>(inventory,
EventNames.c_Inventory_OnAdd_ItemInfo_ItemStack,
OnItemAmountAdded);
What would be the best way to get the item slot that contains that ItemInfo from within the inventory?
Thanks as always for the great support!