How to make an in-game inventory showing relevant NFTs

An example of this can be found in the Emergence Sample Project, check it out here!

While Emergence provides a built in inventory in the overlay, you may want to make an NFT inventory as part of your game's UI. The following is an example of how a widget could be initialized for every item in a player's inventory:

Inside the widget, the item's image can be loaded into a texture:

You could also filter items by only those that are from collections that belong to your game:

Last updated