am trying to create a custom item/accessory UI using the base of the mannequin script, but am not sure how exactly are we getting the Items using the item IDs. Here i tried different methods, most of the time it returns null or crashes unity.
Is there a way to get the Items using itemIds to create a custom UI with buttons on HUD UI, and without the need for an interaction icon? Here is a piece of code that i tried.
In this script am trying to convert the ItemIDs to the ItemContent thats needed to use in UI.
Here is the script that is attached to the button, to pass in the item IDs.
Hi there,
am trying to create a custom item/accessory UI using the base of the mannequin script, but am not sure how exactly are we getting the Items using the item IDs. Here i tried different methods, most of the time it returns null or crashes unity.
Is there a way to get the Items using itemIds to create a custom UI with buttons on HUD UI, and without the need for an interaction icon? Here is a piece of code that i tried.
In this script am trying to convert the ItemIDs to the ItemContent thats needed to use in UI.
Here is the script that is attached to the button, to pass in the item IDs.
btw this crashes Unity.