Inventory and Store System – Part 5.3 (Hooking into Event System Events via Code) | .GAME

This post has been republished via RSS; it originally appeared at: Channel 9.

In this episode, we are going to go over the challenge given at the end of Part 5.2 by adding logic to sell or destroy items in our inventory. The action taken will depend on game logic such as whether the store window is open and what mouse button the player pushed. We will explore more of the event system by looking at how you can access events in code, particularly the OnPointerClick event.


REMEMBER: these articles are REPUBLISHED. Your best bet to get a reply is to follow the link at the top of the post to the ORIGINAL post! BUT you're more than welcome to start discussions here:

This site uses Akismet to reduce spam. Learn how your comment data is processed.