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.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset