Game System Scripts

This section contains the final scripts that are used to control the game’s core systems. It includes scripts for the camera, flight paths, and most trigger-related systems. You’ll find the following scripts here:

Image Listing A.9: The CameraFollow Script

Image Listing A.10: The CheckpointTrigger Script

Image Listing A.11: The FlightPoints Script

Listing A.12: The SpawnTrigger Script

Listing A.13: The VictoryTrigger Script

Listing A.9 The ...

Get Learning 2D Game Development with Unity®: A Hands-On Guide to Game Creation now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.