Interface ISubtitleEntry
Interface for describing subtitles usable in Subtitler
public interface ISubtitleEntry
Properties
Audio
AudioClip of the subtitle
object Audio { get; set; }
Property Value
- object
Object containing the sound for this entry to be played with an IAudioSource
Dialogue
Dialogue string of the subtitle
string Dialogue { get; set; }
Property Value
- string
Dialogue
DisplayFor
How long should the subtitle be visible for?
float DisplayFor { get; set; }
Property Value
- float
Speaker
Speaker name for the subtitle, will prefix the dialogue in this format: speaker:dialogue (Optional)
string Speaker { get; set; }
Property Value
- string
Speaker Name
SubtitleEvent
Programmable event which gets invoked when this subtitle gets played.
ScriptableEvent SubtitleEvent { get; set; }
Property Value
WaitFor
How long should subtitler pause before playing this line? (If in sequence, relative to last played subtitle)
float WaitFor { get; set; }
Property Value
- float