Table of Contents

Interface ISubtitleEntry

Namespace
Gasimo.Subtitles
Assembly
Gasimo.Subtitler.dll

Interface for describing subtitles usable in Subtitler

public interface ISubtitleEntry

Methods

getAudio()

AudioClip of the subtitle

AudioClip getAudio()

Returns

AudioClip

AudioClip with sound for this entry

getDialogue()

Dialogue string of the subtitle

string getDialogue()

Returns

string

Dialogue

getDisplayFor()

How long should the subtitle be visible for?

float getDisplayFor()

Returns

float

getSpeaker()

Speaker name for the subtitle, will prefix the dialogue in this format: speaker:dialogue (Optional)

string getSpeaker()

Returns

string

Speaker Name

getSubtitleEvent()

ScriptableEvent getSubtitleEvent()

Returns

ScriptableEvent

getWaitFor()

How long should subtitler pause before playing this line? (If in sequence, relative to last played subtitle)

float getWaitFor()

Returns

float