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.
Resources: