How to put subtitles in mobile videos using Handheld.PlayFullScreenMovie in unity

So, I'm doing a unity project for a mobile device (Android), and I ran into the problem of playing video using unity on mobile devices, because this can only be achieved through Handheld.PlayFullScreenMovie or Assets.

So, in Handheld.PlayFullScreenMovie video comes out in full screen and everything goes after it, and since I want it to support some languages ​​(if I need to include 3 copies of the same video, the game will start to get big ;-). My doubt is whether it is possible to put subtitles in it without creating another video?

+5
source share
1 answer

This is a logical decision. You can GUI.Label print anything on the screen.

You use a timer / counter to print the appropriate text on the screen at the right time.

Create a rectangle where you want the text to appear

 GUI.Label(new Rect(10, 10, 100, 20), "Hello World!"); 
-1
source

Source: https://habr.com/ru/post/1244072/


All Articles