Day 2 Demos




I recommend setting the playback speed to 1.25 or 1.5x !

Triggers Overview

Note that in this class we are using 2D colliders, and your scripts must use the 2D version of the functions he describes in the video (OnTriggerEnter2D, OnTriggerExit2D, OnTriggerStay2D)



DEMO: Triggers (Switch and Gate)




DEMO: Camera Movement





DEMO: Teleporter



DEMO: Setting Up the UI for Collectables 




DEMO: Inventory and Inventory Display



DEMO: Collectable Item