Inventory and Store System - Part 5.3 (Hooking into Event System Events via Code)

Download this episode

Download Video

Download captions

Download Captions


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.




Available formats for this video:

Actual format may change based on video formats available and browser capability.

    The Discussion

    Add Your 2 Cents