Skip to Content
Unity in Action, Third Edition
book

Unity in Action, Third Edition

by Joseph Hocking
January 2022
Beginner
416 pages
11h 53m
English
Manning Publications
Content preview from Unity in Action, Third Edition

index

Numerics

2D game demo 127

building card object and making it react to clicks 110112

building object out of sprites 110

mouse input code 111112

revealing card on click 112

displaying various card images 113119

instantiating grid of cards 116117

loading images programmatically 113114

setting image from invisible SceneController 114116

shuffling cards 118119

making and scoring matches 119123

hiding mismatched cards 120121

storing and comparing revealed cards 120

text display for score 121123

restart button 123127

calling LoadScene from SceneController 126127

programming UIButton component using SendMessage 124126

setting up for 2D graphics 104110

displaying 2D images 107108

preparing project

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Unity Game Optimization - Third Edition

Unity Game Optimization - Third Edition

Dr. Davide Aversa, Chris Dickinson

Publisher Resources

ISBN: 9781617299339Supplemental ContentPublisher SupportOtherPublisher WebsiteSupplemental ContentErrata PagePurchase Link