Book Image

Learning Unity iOS Game Development

Book Image

Learning Unity iOS Game Development

Overview of this book

Table of Contents (14 chapters)
Learning Unity iOS Game Development
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
6
Main Menu, iAds, Leaderboards, Store Purchases, and Achievements
Index

What is an obstacle?


Similar to the pickup, an obstacle is a GameObject that has a box collider attached to it. The thing that makes an obstacle different from a pickup is that the obstacle is designed to destroy the player character and end the game if it's collided with. This means that the obstacle is more crucial to the overall game loop than the pickup is.