Hey everyone,
We have some Unity Text UI Element in our interface that is supposed to say
Go to <ItemName>
when we hover over an item in world.
it should also say
Use <ItemName>
when hovering over an item in the inventory.
Our inventory is also Unity UI Based.
I managed to do the first by attaching some script on the HotSpot, but i would also be interested in finding out the right AC way to do that.
For the inventory items that trick doesn't seem to work as the slots are dynamically assigned at runtime and i couldn't find any Component carrying information about the actual item attached to the interface.
So if anybody could point me either to the AC way to solve this, or some nice workaround i would be really happy.
Comments