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:
Listing A.9: The CameraFollow Script
Listing A.10: The CheckpointTrigger Script
Listing A.11: The FlightPoints Script
Listing A.12: The SpawnTrigger Script
Listing A.13: The VictoryTrigger Script
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.