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.
Learning Unity iOS Game Development
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
Free Chapter
Requirements and Preparation Work
Player Input for Mobile Devices
Player Character, Obstacles, and Pickups
Editor Tool, Prefabs, and Game Level
Scene Background, the Game User Interface, and the Save Profile
Main Menu, iAds, Leaderboards, Store Purchases, and Achievements
Game Builds and Submission to Apple
Index
Customer Reviews