Class SubtitlesUGUI
Update a standard uGUI Text element with subtitle text as it plays from the MediaPlayer
Inheritance
System.Object
SubtitlesUGUI
Namespace: RenderHeads.Media.AVProVideo
Assembly: cs.temp.dll.dll
Syntax
public class SubtitlesUGUI : MonoBehaviour
Properties
Player
Declaration
public MediaPlayer Player { get; set; }
Property Value
Type | Description |
---|---|
MediaPlayer |
Text
Declaration
public Text Text { get; set; }
Property Value
Type | Description |
---|---|
Text |
Methods
ChangeMediaPlayer(MediaPlayer)
Declaration
public void ChangeMediaPlayer(MediaPlayer newPlayer)
Parameters
Type | Name | Description |
---|---|---|
MediaPlayer | newPlayer |