COO GMDV-210 - Principles of Human-Computer Interaction
Week 5 Lesson, Video Supplement
Pre Reqs
Unity UI Tutorial Pt. 1 - Interface Tour, Basic Concepts, and Canvases
• Unity - Interface Tour, Basic Concepts, an...
Topics Covered
Button Component
Creating Buttons
hit areas
button fill
button text
button icon
turn it into a prefab
add a script and attach to the button's click listener
Providing Dependencies
serialized fields (drag and drop)
get component & require component
Create a response
MonoBehaviour that tracks/displays the click count
Actions and the event keyword
cross-scene communication