In the last recipe of this chapter, we'll learn how a video can be displayed in the game scene. It is a useful feature—very handy for computer graphics scenes or cut scenes or if you want to include a monitor displaying a video clip in your game scene.
You need two things for this recipe. Firstly, install QuickTime on your PC, if you don't have it already. Without QuickTime, Unity cannot import video clips properly. The QuickTime installer can be downloaded from http://www.apple.com/quicktime/download/.
Next, we need a video clip. If you don't have a clip to use, you can load the video clip we have provided with the content of this book.
Create a new folder in your project and name it
Videos
.Access the folder and right-click to import a new asset, as we did many times.
Unity imports all major video file formats. In this case, we opted for an MPEG file. Select the file named video_01...