Unity3D 5.6 Video Player Load, Scrub, Loop, Play & More
Автор: Renaissance Coders
Загружено: 2017-05-20
Просмотров: 57596
⭐ Kite is a free AI-powered coding assistant that will help you code faster and smarter. The Kite plugin integrates with all the top editors and IDEs to give you smart completions and documentation while you’re typing. I've been using Kite for 6 months and I love it! https://www.kite.com/get-kite/?utm_me... Hey! We have some useful links for you!
Code Editor: https://code.visualstudio.com/
Code Theme: https://marketplace.visualstudio.com/...
Game Engine: https://unity3d.com/
Check out the video player API too! https://docs.unity3d.com/560/Document...
We used icons from http://www.flaticon.com/search?word=v...
In this tutorial, Darren implements a video player with common functions such as Load, Seek, Loop, Play, Pause, Restart, and more. After watching this video, you will know how to write the utilities to accommodate the properties of the new video player in Unity 5.6.
Setting up the video player is very simple. Choose an object and add Unity's VideoPlayer component to it. Most of the settings such as Play on Awake, Loop, and Playback Speed are self explanatory. The properties we modify in this video are the Source URL, which is the video file location within your system, and the render mode. We choose Camera Near Plane for our render mode because it is the easiest to set up. This just means that the video will play within the bounds of the closest viewing rect of the camera.
The rest is left in the video. Enjoy!
Thanks for watching!
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: