Logical difference between the inventory and shop items
Let's now open the Item Widget Blueprint by navigating to Content | Blueprints | UI:
At this point, we should not have any logic for the button, which is necessary because it gives us the actions that the button will perform in conjunction with the game. To add a functionality to the button, click on the button, navigate to Details | Events | OnClicked, and then click on +:
Here, we will need to do a few things. Firstly, we know that this Blueprint will be responsible for all of the button mechanics ...
Get Building an RPG with Unreal 4.x now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.