Bummer! This is just a preview. You need to be signed in with a Treehouse account to view the entire video.
Prototyping a Camera Manager Script0:00 with Nick Pettit
Switching cameras is simple on a basic level, but managing and scheduling the switching can be more complex than it seems. This script will be longer than the others we've written, so we're going to start by creating a basic prototype of the script and then add functionality as we go along.
List<T> - The
List<T>class in C# is used to store a collection of objects. The class provides methods to manipulate lists.
- Cameras in Unity - Project Files - This is a zip file that contains the Unity project for this course. Download the file, unzip it, and then in your file browser (Finder on OS X and Exporer on Windows) navigate to Cameras in Unity > Assets > _Scenes. Finally, choose the scene you'd like to open.
You need to sign up for Treehouse in order to download course files.Sign up