Was just wondering if there is a way to display the sprite of an item in a submenu, which is opened when clicking on an item in the inventory menu? Not sure if this is the best way but currently trying to use TMP, but additional content doesn't seem to work for me.
Image 01Image 02Image 03
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
What you need to do (with the new version) is add a game object with an Image component to your UI box and use that component in the main UI Content component of the UI box (where the text component is also referenced).
This is used to display the icon that's included in the displayed content - with the new version's option you can set that to the icon of whatever content the sub-menu is displayed for.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!