TV sets, projectors, monitors.... If you want complex animated materials in your level, you can play video files as texture maps. In this recipe, we will learn how to add and use VideoPlayer components on the main camera.
Playing videos by manually adding a VideoPlayer component to a GameObject
Getting ready
If you need a video file so that you can follow this recipe, please use the videoTexture.mov file included in the 13_01 folder.
How to do it...
To place videos manually with a VideoPlayer component, follow these steps:
- Import the provided videoTexture.mov file.
- Add...